Forráskód Böngészése

not not -> not

Signed-off-by: Victor Vieux <vieux@docker.com>
Victor Vieux 10 éve
szülő
commit
d19d800898
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      daemon/exec.go

+ 2 - 2
daemon/exec.go

@@ -71,7 +71,7 @@ func (d *Daemon) registerExecCommand(execConfig *execConfig) {
 func (d *Daemon) getExecConfig(name string) (*execConfig, error) {
 func (d *Daemon) getExecConfig(name string) (*execConfig, error) {
 	if execConfig := d.execCommands.Get(name); execConfig != nil {
 	if execConfig := d.execCommands.Get(name); execConfig != nil {
 		if !execConfig.Container.IsRunning() {
 		if !execConfig.Container.IsRunning() {
-			return nil, fmt.Errorf("Container %s is not not running", execConfig.Container.ID)
+			return nil, fmt.Errorf("Container %s is not running", execConfig.Container.ID)
 		}
 		}
 		return execConfig, nil
 		return execConfig, nil
 	}
 	}
@@ -92,7 +92,7 @@ func (d *Daemon) getActiveContainer(name string) (*Container, error) {
 	}
 	}
 
 
 	if !container.IsRunning() {
 	if !container.IsRunning() {
-		return nil, fmt.Errorf("Container %s is not not running", name)
+		return nil, fmt.Errorf("Container %s is not running", name)
 	}
 	}
 
 
 	return container, nil
 	return container, nil