From f550f04f209b88168bae2f7021586a391e10cdf4 Mon Sep 17 00:00:00 2001 From: allencloud Date: Sun, 23 Oct 2016 22:43:53 +0800 Subject: [PATCH] fix nits in stderr log Signed-off-by: allencloud --- delete.go | 2 +- pause.go | 4 ++-- start.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/delete.go b/delete.go index 0c51281ed..75a629948 100644 --- a/delete.go +++ b/delete.go @@ -64,7 +64,7 @@ status of "ubuntu01" as "stopped" the following will delete resources held for if err := os.RemoveAll(path); err != nil { fmt.Fprintf(os.Stderr, "remove %s: %v\n", path, err) } - fmt.Fprintf(os.Stderr, "container %s is not exist\n", id) + fmt.Fprintf(os.Stderr, "container %s does not exist\n", id) } hasError = true continue diff --git a/pause.go b/pause.go index ffdd984e3..208cea4fa 100644 --- a/pause.go +++ b/pause.go @@ -33,7 +33,7 @@ Use runc list to identiy instances of containers and their current status.`, for _, id := range context.Args() { container, err := factory.Load(id) if err != nil { - fmt.Fprintf(os.Stderr, "container %s is not exist\n", id) + fmt.Fprintf(os.Stderr, "container %s does not exist\n", id) hasError = true continue } @@ -74,7 +74,7 @@ Use runc list to identiy instances of containers and their current status.`, for _, id := range context.Args() { container, err := factory.Load(id) if err != nil { - fmt.Fprintf(os.Stderr, "container %s is not exist\n", id) + fmt.Fprintf(os.Stderr, "container %s does not exist\n", id) hasError = true continue } diff --git a/start.go b/start.go index 30d7d8fd1..af2fb46b0 100644 --- a/start.go +++ b/start.go @@ -31,7 +31,7 @@ your host.`, for _, id := range context.Args() { container, err := factory.Load(id) if err != nil { - fmt.Fprintf(os.Stderr, "container %s is not exist\n", id) + fmt.Fprintf(os.Stderr, "container %s does not exist\n", id) hasError = true continue }