summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_inspect.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pod_inspect.go')
-rw-r--r--cmd/podman/pod_inspect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pod_inspect.go b/cmd/podman/pod_inspect.go
index eb2366031..a22624078 100644
--- a/cmd/podman/pod_inspect.go
+++ b/cmd/podman/pod_inspect.go
@@ -49,7 +49,7 @@ func podInspectCmd(c *cliconfig.PodInspectValues) error {
return errors.Errorf("you must provide the name or id of a pod")
}
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}