Browse code

not not -> not

Signed-off-by: Victor Vieux <vieux@docker.com>

Victor Vieux authored on 2014/09/26 06:23:27
Showing 1 changed files
... ...
@@ -71,7 +71,7 @@ func (d *Daemon) registerExecCommand(execConfig *execConfig) {
71 71
 func (d *Daemon) getExecConfig(name string) (*execConfig, error) {
72 72
 	if execConfig := d.execCommands.Get(name); execConfig != nil {
73 73
 		if !execConfig.Container.IsRunning() {
74
-			return nil, fmt.Errorf("Container %s is not not running", execConfig.Container.ID)
74
+			return nil, fmt.Errorf("Container %s is not running", execConfig.Container.ID)
75 75
 		}
76 76
 		return execConfig, nil
77 77
 	}
... ...
@@ -92,7 +92,7 @@ func (d *Daemon) getActiveContainer(name string) (*Container, error) {
92 92
 	}
93 93
 
94 94
 	if !container.IsRunning() {
95
-		return nil, fmt.Errorf("Container %s is not not running", name)
95
+		return nil, fmt.Errorf("Container %s is not running", name)
96 96
 	}
97 97
 
98 98
 	return container, nil