diff options
Diffstat (limited to 'cmd/podman/restart.go')
-rw-r--r-- | cmd/podman/restart.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/restart.go b/cmd/podman/restart.go index 9ab2dd528..437676eef 100644 --- a/cmd/podman/restart.go +++ b/cmd/podman/restart.go @@ -51,7 +51,7 @@ func restartCmd(c *cliconfig.RestartValues) error { return errors.Wrapf(libpod.ErrInvalidArg, "you must provide at least one container name or ID") } - runtime, err := adapter.GetRuntime(&c.PodmanCommand) + runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand) if err != nil { return errors.Wrapf(err, "error creating libpod runtime") } |