summaryrefslogtreecommitdiff
path: root/cmd/podman/volume_inspect.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/volume_inspect.go')
-rw-r--r--cmd/podman/volume_inspect.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/volume_inspect.go b/cmd/podman/volume_inspect.go
index 66d394307..e4b05f96a 100644
--- a/cmd/podman/volume_inspect.go
+++ b/cmd/podman/volume_inspect.go
@@ -43,7 +43,7 @@ func volumeInspectCmd(c *cliconfig.VolumeInspectValues) error {
return errors.New("provide one or more volume names or use --all")
}
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "error creating libpod runtime")
}