summaryrefslogtreecommitdiff
path: root/cmd/podman/tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/tree.go')
-rw-r--r--cmd/podman/tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/tree.go b/cmd/podman/tree.go
index f205c83e4..6490c609d 100644
--- a/cmd/podman/tree.go
+++ b/cmd/podman/tree.go
@@ -51,7 +51,7 @@ func treeCmd(c *cliconfig.TreeValues) error {
return errors.Errorf("you must provide at most 1 argument")
}
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "error creating libpod runtime")
}