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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/wait.go b/cmd/podman/wait.go
index 97ec75b0c..380e861ed 100644
--- a/cmd/podman/wait.go
+++ b/cmd/podman/wait.go
@@ -51,7 +51,7 @@ func waitCmd(c *cliconfig.WaitValues) error {
}
interval := time.Duration(c.Interval) * time.Millisecond
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "error creating runtime")
}