aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/pause.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pause.go')
-rw-r--r--cmd/podman/pause.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pause.go b/cmd/podman/pause.go
index ca137150a..cd8370082 100644
--- a/cmd/podman/pause.go
+++ b/cmd/podman/pause.go
@@ -43,7 +43,7 @@ func pauseCmd(c *cliconfig.PauseValues) error {
return errors.New("pause 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")
}