summaryrefslogtreecommitdiff
path: root/cmd/podman/wait.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/wait.go')
-rw-r--r--cmd/podman/wait.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/wait.go b/cmd/podman/wait.go
index 2b2a07738..142e0e599 100644
--- a/cmd/podman/wait.go
+++ b/cmd/podman/wait.go
@@ -5,6 +5,7 @@ import (
"os"
"github.com/pkg/errors"
+ "github.com/projectatomic/libpod/cmd/podman/libpodruntime"
"github.com/urfave/cli"
)
@@ -31,7 +32,7 @@ func waitCmd(c *cli.Context) error {
return errors.Errorf("you must provide at least one container name or id")
}
- runtime, err := getRuntime(c)
+ runtime, err := libpodruntime.GetRuntime(c)
if err != nil {
return errors.Wrapf(err, "error creating libpod runtime")
}