summaryrefslogtreecommitdiff
path: root/cmd/podman/rm.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/rm.go')
-rw-r--r--cmd/podman/rm.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/rm.go b/cmd/podman/rm.go
index 182089e8e..d6af6db07 100644
--- a/cmd/podman/rm.go
+++ b/cmd/podman/rm.go
@@ -5,6 +5,7 @@ import (
"os"
"github.com/pkg/errors"
+ "github.com/projectatomic/libpod/cmd/podman/libpodruntime"
"github.com/projectatomic/libpod/libpod"
"github.com/urfave/cli"
)
@@ -40,7 +41,7 @@ func rmCmd(c *cli.Context) error {
return err
}
- runtime, err := getRuntime(c)
+ runtime, err := libpodruntime.GetRuntime(c)
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}