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