Skip to content

Commit f550f04

Browse files
committed
fix nits in stderr log
Signed-off-by: allencloud <[email protected]>
1 parent 850b9c0 commit f550f04

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ status of "ubuntu01" as "stopped" the following will delete resources held for
6464
if err := os.RemoveAll(path); err != nil {
6565
fmt.Fprintf(os.Stderr, "remove %s: %v\n", path, err)
6666
}
67-
fmt.Fprintf(os.Stderr, "container %s is not exist\n", id)
67+
fmt.Fprintf(os.Stderr, "container %s does not exist\n", id)
6868
}
6969
hasError = true
7070
continue

pause.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Use runc list to identiy instances of containers and their current status.`,
3333
for _, id := range context.Args() {
3434
container, err := factory.Load(id)
3535
if err != nil {
36-
fmt.Fprintf(os.Stderr, "container %s is not exist\n", id)
36+
fmt.Fprintf(os.Stderr, "container %s does not exist\n", id)
3737
hasError = true
3838
continue
3939
}
@@ -74,7 +74,7 @@ Use runc list to identiy instances of containers and their current status.`,
7474
for _, id := range context.Args() {
7575
container, err := factory.Load(id)
7676
if err != nil {
77-
fmt.Fprintf(os.Stderr, "container %s is not exist\n", id)
77+
fmt.Fprintf(os.Stderr, "container %s does not exist\n", id)
7878
hasError = true
7979
continue
8080
}

start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ your host.`,
3131
for _, id := range context.Args() {
3232
container, err := factory.Load(id)
3333
if err != nil {
34-
fmt.Fprintf(os.Stderr, "container %s is not exist\n", id)
34+
fmt.Fprintf(os.Stderr, "container %s does not exist\n", id)
3535
hasError = true
3636
continue
3737
}

0 commit comments

Comments
 (0)