diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-03 20:05:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 20:05:30 +0200 |
commit | 64cade0f71a8189403d208cbc7dc8716008229be (patch) | |
tree | 31f36e86cbab604ba51e37255e7b821f9b5a0c7f /pkg/adapter/containers.go | |
parent | 3542700d6e7b630b2eeee8a0e20499bda3dafb03 (diff) | |
parent | 8a16674722ab4a33ce66e57d151b09ac348e8e6d (diff) | |
download | podman-64cade0f71a8189403d208cbc7dc8716008229be.tar.gz podman-64cade0f71a8189403d208cbc7dc8716008229be.tar.bz2 podman-64cade0f71a8189403d208cbc7dc8716008229be.zip |
Merge pull request #5638 from baude/v2containercheck
podmanv2 checkpoint and restore
Diffstat (limited to 'pkg/adapter/containers.go')
-rw-r--r-- | pkg/adapter/containers.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/adapter/containers.go b/pkg/adapter/containers.go index c395ffc7f..b4ebeb944 100644 --- a/pkg/adapter/containers.go +++ b/pkg/adapter/containers.go @@ -26,6 +26,7 @@ import ( "github.com/containers/libpod/libpod/image" "github.com/containers/libpod/libpod/logs" "github.com/containers/libpod/pkg/adapter/shortcuts" + "github.com/containers/libpod/pkg/checkpoint" envLib "github.com/containers/libpod/pkg/env" "github.com/containers/libpod/pkg/systemd/generate" "github.com/containers/storage" @@ -625,7 +626,7 @@ func (r *LocalRuntime) Restore(ctx context.Context, c *cliconfig.RestoreValues) switch { case c.Import != "": - containers, err = crImportCheckpoint(ctx, r.Runtime, c.Import, c.Name) + containers, err = checkpoint.CRImportCheckpoint(ctx, r.Runtime, c.Import, c.Name) case c.All: containers, err = r.GetContainers(filterFuncs...) default: |