Fixed wording of ghost-related messages

Upstream-commit: b1fbebb4a3611d340176ad637a22d2250085a077
Component: engine
This commit is contained in:
Solomon Hykes
2013-04-12 10:39:08 -07:00
parent 9c360e79b0
commit c74dd47b04
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -19,7 +19,7 @@ type State struct {
func (s *State) String() string {
if s.Running {
if s.Ghost {
return fmt.Sprintf("Running ghost")
return fmt.Sprintf("Ghost")
}
return fmt.Sprintf("Up %s", HumanDuration(time.Now().Sub(s.StartedAt)))
}