summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/resume.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/resume.go')
-rw-r--r--runsc/cmd/resume.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/resume.go b/runsc/cmd/resume.go
index a00928204..856469252 100644
--- a/runsc/cmd/resume.go
+++ b/runsc/cmd/resume.go
@@ -56,7 +56,7 @@ func (r *Resume) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}
id := f.Arg(0)
conf := args[0].(*config.Config)
- cont, err := container.LoadAndCheck(conf.RootDir, id)
+ cont, err := container.Load(conf.RootDir, container.FullID{ContainerID: id}, container.LoadOpts{})
if err != nil {
Fatalf("loading container: %v", err)
}