From b1fbebb4a3611d340176ad637a22d2250085a077 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Fri, 12 Apr 2013 10:39:08 -0700 Subject: [PATCH] Fixed wording of ghost-related messages --- container.go | 4 ++-- state.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/container.go b/container.go index fb95be0ca3..e0b09935b5 100644 --- a/container.go +++ b/container.go @@ -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 diff --git a/state.go b/state.go index f09b289a6a..f51a06b01a 100644 --- a/state.go +++ b/state.go @@ -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))) }