summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_pause.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pod_pause.go')
-rw-r--r--cmd/podman/pod_pause.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pod_pause.go b/cmd/podman/pod_pause.go
index 1c6611ebc..e8574bfdc 100644
--- a/cmd/podman/pod_pause.go
+++ b/cmd/podman/pod_pause.go
@@ -45,7 +45,7 @@ func init() {
func podPauseCmd(c *cliconfig.PodPauseValues) error {
var lastError error
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "error creating libpod runtime")
}