summaryrefslogtreecommitdiff
path: root/cmd/podman/system_migrate.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/system_migrate.go')
-rw-r--r--cmd/podman/system_migrate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/system_migrate.go b/cmd/podman/system_migrate.go
index b08eedcde..4a0afcfad 100644
--- a/cmd/podman/system_migrate.go
+++ b/cmd/podman/system_migrate.go
@@ -38,7 +38,7 @@ func migrateCmd(c *cliconfig.SystemMigrateValues) error {
// We need to pass one extra option to NewRuntime.
// This will inform the OCI runtime to start a migrate.
// That's controlled by the last argument to GetRuntime.
- r, err := libpodruntime.GetRuntimeMigrate(&c.PodmanCommand)
+ r, err := libpodruntime.GetRuntimeMigrate(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "error migrating containers")
}