summaryrefslogtreecommitdiff
path: root/cmd/podman/unpause.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/unpause.go')
-rw-r--r--cmd/podman/unpause.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/unpause.go b/cmd/podman/unpause.go
index fa946bfd7..2cd6846fe 100644
--- a/cmd/podman/unpause.go
+++ b/cmd/podman/unpause.go
@@ -42,7 +42,7 @@ func unpauseCmd(c *cliconfig.UnpauseValues) error {
return errors.New("unpause is not supported for rootless containers")
}
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}