mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 13:41:36 +00:00
Fixed wording of ghost-related messages
This commit is contained in:
+2
-2
@@ -577,7 +577,7 @@ func (container *Container) Kill() error {
|
||||
return nil
|
||||
}
|
||||
if container.State.Ghost {
|
||||
return fmt.Errorf("Impossible to kill ghost containers")
|
||||
return fmt.Errorf("Can't kill ghost container")
|
||||
}
|
||||
return container.kill()
|
||||
}
|
||||
@@ -589,7 +589,7 @@ func (container *Container) Stop() error {
|
||||
return nil
|
||||
}
|
||||
if container.State.Ghost {
|
||||
return fmt.Errorf("Impossible to stop ghost containers")
|
||||
return fmt.Errorf("Can't stop ghot container")
|
||||
}
|
||||
|
||||
// 1. Send a SIGTERM
|
||||
|
||||
Reference in New Issue
Block a user