summaryrefslogtreecommitdiff
path: root/daemon/attach.go
diff options
context:
space:
mode:
authorDaniel Nephin <dnephin@docker.com>2017-08-17 15:16:30 -0400
committerDaniel Nephin <dnephin@docker.com>2017-08-18 14:23:44 -0400
commit9b47b7b1519c5f2138e2933fb1fc459eb00895c0 (patch)
tree92f3b7fa75ba795dca466400e696cef088882c10 /daemon/attach.go
parentd7e2c4ce773b3a54f47e84a5a1ef22eb72c978b5 (diff)
downloaddocker-9b47b7b1519c5f2138e2933fb1fc459eb00895c0.tar.gz
Fix golint errors.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Diffstat (limited to 'daemon/attach.go')
-rw-r--r--daemon/attach.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/attach.go b/daemon/attach.go
index ef1765af92..7b676ccaf0 100644
--- a/daemon/attach.go
+++ b/daemon/attach.go
@@ -31,11 +31,11 @@ func (daemon *Daemon) ContainerAttach(prefixOrName string, c *backend.ContainerA
return err
}
if container.IsPaused() {
- err := fmt.Errorf("Container %s is paused, unpause the container before attach.", prefixOrName)
+ err := fmt.Errorf("container %s is paused, unpause the container before attach", prefixOrName)
return stateConflictError{err}
}
if container.IsRestarting() {
- err := fmt.Errorf("Container %s is restarting, wait until the container is running.", prefixOrName)
+ err := fmt.Errorf("container %s is restarting, wait until the container is running", prefixOrName)
return stateConflictError{err}
}