diff options
Diffstat (limited to 'cmd/podman/top.go')
-rw-r--r-- | cmd/podman/top.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/podman/top.go b/cmd/podman/top.go index ab29df3ab..43728893c 100644 --- a/cmd/podman/top.go +++ b/cmd/podman/top.go @@ -6,9 +6,9 @@ import ( "strings" "text/tabwriter" + "github.com/containers/libpod/cmd/podman/libpodruntime" + "github.com/containers/libpod/libpod" "github.com/pkg/errors" - "github.com/projectatomic/libpod/cmd/podman/libpodruntime" - "github.com/projectatomic/libpod/libpod" "github.com/urfave/cli" ) @@ -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]) |