1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

not not -> not

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2014-09-25 21:23:27 +00:00
parent e2728d9892
commit d19d800898

View file

@ -71,7 +71,7 @@ func (d *Daemon) registerExecCommand(execConfig *execConfig) {
func (d *Daemon) getExecConfig(name string) (*execConfig, error) {
if execConfig := d.execCommands.Get(name); execConfig != nil {
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
}
@ -92,7 +92,7 @@ func (d *Daemon) getActiveContainer(name string) (*Container, error) {
}
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