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