summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/pause.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-05 23:39:45 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-05 23:39:45 +0000
commit00810031aa23fdfa996572ca22b565db108c3666 (patch)
treed3e36d3b9e831aec582fb572f3a820a9f3d6ccbd /runsc/cmd/pause.go
parent715a6085fcc34c138a4e3ec7b3acc41266d10d15 (diff)
parentc47f8afe2334c1395a2acd9ebf5191aa4554907c (diff)
Merge release-20201030.0-32-gc47f8afe2 (automated)
Diffstat (limited to 'runsc/cmd/pause.go')
-rw-r--r--runsc/cmd/pause.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/pause.go b/runsc/cmd/pause.go
index 0eb1402ed..fe7d4e257 100644
--- a/runsc/cmd/pause.go
+++ b/runsc/cmd/pause.go
@@ -55,7 +55,7 @@ func (*Pause) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) s
id := f.Arg(0)
conf := args[0].(*config.Config)
- cont, err := container.Load(conf.RootDir, id)
+ cont, err := container.LoadAndCheck(conf.RootDir, id)
if err != nil {
Fatalf("loading container: %v", err)
}