summaryrefslogtreecommitdiff
path: root/cmd/podman/top.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/top.go')
-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 5ff3b6643..7ea8a1169 100644
--- a/cmd/podman/top.go
+++ b/cmd/podman/top.go
@@ -4,6 +4,7 @@ import (
"fmt"
"github.com/pkg/errors"
+ "github.com/projectatomic/libpod/cmd/podman/libpodruntime"
"github.com/projectatomic/libpod/libpod"
"github.com/urfave/cli"
)
@@ -42,7 +43,7 @@ func topCmd(c *cli.Context) error {
return err
}
- runtime, err := getRuntime(c)
+ runtime, err := libpodruntime.GetRuntime(c)
if err != nil {
return errors.Wrapf(err, "error creating libpod runtime")
}