summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/ps.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/ps.go')
-rw-r--r--runsc/cmd/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/ps.go b/runsc/cmd/ps.go
index 18d7a1436..04e3e0bdd 100644
--- a/runsc/cmd/ps.go
+++ b/runsc/cmd/ps.go
@@ -60,7 +60,7 @@ func (ps *PS) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{})
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 sandbox: %v", err)
}