From f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Tue, 16 Apr 2019 14:12:12 +0200 Subject: runtime: pass down the context Signed-off-by: Giuseppe Scrivano --- cmd/podman/restart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman/restart.go') 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") } -- cgit v1.2.3-54-g00ecf