diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-06-18 21:54:36 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-18 21:54:36 +0000 |
commit | dfbde70e972d909e0c10d4b85841b908325095be (patch) | |
tree | c2962c7a40a06ccd80128a185c6eca9beac288c8 /runsc/cmd/checkpoint.go | |
parent | 14776d859bc4fc788d0fb6d4def2dd9ec6dcf5e3 (diff) | |
parent | bdb19b82ef2aa1638d98da4b1c55ae7928437f55 (diff) |
Merge bdb19b82 (automated)
Diffstat (limited to 'runsc/cmd/checkpoint.go')
-rw-r--r-- | runsc/cmd/checkpoint.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runsc/cmd/checkpoint.go b/runsc/cmd/checkpoint.go index 7298a0828..d8b3a8573 100644 --- a/runsc/cmd/checkpoint.go +++ b/runsc/cmd/checkpoint.go @@ -133,7 +133,12 @@ func (c *Checkpoint) Execute(_ context.Context, f *flag.FlagSet, args ...interfa Fatalf("destroying container: %v", err) } - cont, err = container.Create(id, spec, conf, bundleDir, "", "", "") + contArgs := container.Args{ + ID: id, + Spec: spec, + BundleDir: bundleDir, + } + cont, err = container.New(conf, contArgs) if err != nil { Fatalf("restoring container: %v", err) } |