summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-08-21 13:13:34 -0700
committerShentubot <shentubot@google.com>2018-08-21 13:14:43 -0700
commitd6d165cb0b8147461388287ffd4cfee221940123 (patch)
tree8beb9ea0e792c6691385f5b9d7ca65f0a1eaf9dc /runsc/cmd
parent9c407382b031f16160f83383ef8b0d419457829a (diff)
Initial change for multi-gofer support
PiperOrigin-RevId: 209647293 Change-Id: I980fca1257ea3fcce796388a049c353b0303a8a5
Diffstat (limited to 'runsc/cmd')
-rw-r--r--runsc/cmd/debug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/debug.go b/runsc/cmd/debug.go
index 87ad21c9a..7952489de 100644
--- a/runsc/cmd/debug.go
+++ b/runsc/cmd/debug.go
@@ -92,7 +92,7 @@ func (d *Debug) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
}
log.Infof("Found sandbox %q, PID: %d", c.Sandbox.ID, c.Sandbox.Pid)
- if !c.Sandbox.IsRunning() {
+ if !c.IsRunning() {
Fatalf("sandbox %q is not running", c.Sandbox.ID)
}