summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/top.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/top.go b/cmd/podman/top.go
index ab29df3ab..7db71ab16 100644
--- a/cmd/podman/top.go
+++ b/cmd/podman/top.go
@@ -85,8 +85,9 @@ func topCmd(c *cli.Context) error {
}
if err != nil {
- return errors.Wrapf(err, "unable to lookup %s", args[0])
+ return errors.Wrapf(err, "unable to lookup requested container")
}
+
conStat, err := container.State()
if err != nil {
return errors.Wrapf(err, "unable to look up state for %s", args[0])