summaryrefslogtreecommitdiff
path: root/cmd/podman/system_renumber.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-04-16 14:12:12 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-04-26 22:23:49 +0200
commitf49e0c19ede56b1cc6b1d44ea9ba8b336cd22658 (patch)
tree9a68b96d5f85adcc67189e97e1c788786c20b32c /cmd/podman/system_renumber.go
parent525f0b30ac280565a1f98fd4208821a4984a7515 (diff)
downloadpodman-f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658.tar.gz
podman-f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658.tar.bz2
podman-f49e0c19ede56b1cc6b1d44ea9ba8b336cd22658.zip
runtime: pass down the context
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman/system_renumber.go')
-rw-r--r--cmd/podman/system_renumber.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/system_renumber.go b/cmd/podman/system_renumber.go
index 70ba706bb..81752a177 100644
--- a/cmd/podman/system_renumber.go
+++ b/cmd/podman/system_renumber.go
@@ -40,7 +40,7 @@ func renumberCmd(c *cliconfig.SystemRenumberValues) error {
// We need to pass one extra option to NewRuntime.
// This will inform the OCI runtime to start a renumber.
// That's controlled by the last argument to GetRuntime.
- r, err := libpodruntime.GetRuntimeRenumber(&c.PodmanCommand)
+ r, err := libpodruntime.GetRuntimeRenumber(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "error renumbering locks")
}