Merge pull request #1139 from allencloud/fix-nit-in-stderr-log

fix nits in stderr log
This commit is contained in:
Mrunal Patel 2016-10-24 09:56:01 -07:00 committed by GitHub
commit fdfe45b22a
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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
}

View File

@ -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
}