summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/container.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2018-06-22 14:30:33 -0700
committerShentubot <shentubot@google.com>2018-06-22 14:31:25 -0700
commit04bdcc7b65ac03eeca9b14608a12067e1205081b (patch)
treee88ce30df1c5b433f44a51e8cbb211f56f6306dc /runsc/container/container.go
parente0e640981282ece051c33700f4e272047fa4e5b6 (diff)
runsc: Enable waiting on individual containers within a sandbox.
PiperOrigin-RevId: 201742160 Change-Id: Ia9fa1442287c5f9e1196fb117c41536a80f6bb31
Diffstat (limited to 'runsc/container/container.go')
-rw-r--r--runsc/container/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go
index 604708e2c..9c0169ca8 100644
--- a/runsc/container/container.go
+++ b/runsc/container/container.go
@@ -293,7 +293,7 @@ func (c *Container) Start(conf *boot.Config) error {
return err
}
} else {
- if err := c.Sandbox.Start(c.Spec, conf); err != nil {
+ if err := c.Sandbox.Start(c.Spec, conf, c.ID); err != nil {
c.Destroy()
return err
}