summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/list.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/list.go')
-rw-r--r--runsc/cmd/list.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/cmd/list.go b/runsc/cmd/list.go
index acefcb2db..481066225 100644
--- a/runsc/cmd/list.go
+++ b/runsc/cmd/list.go
@@ -81,7 +81,7 @@ func (l *List) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
for _, id := range ids {
c, err := container.Load(conf.RootDir, id)
if err != nil {
- Fatalf("error loading container %q: %v", id, err)
+ Fatalf("loading container %q: %v", id, err)
}
containers = append(containers, c)
}
@@ -108,7 +108,7 @@ func (l *List) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
states = append(states, c.State())
}
if err := json.NewEncoder(os.Stdout).Encode(states); err != nil {
- Fatalf("error marshaling container state: %v", err)
+ Fatalf("marshaling container state: %v", err)
}
default:
Fatalf("unknown list format %q", l.format)