summaryrefslogtreecommitdiffhomepage
path: root/runsc/container
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-07-13 18:40:16 +0000
committergVisor bot <gvisor-bot@google.com>2021-07-13 18:40:16 +0000
commita59f2ea88b9cb4be998fc282fc4c233f2f9f593d (patch)
tree375242d6aca02f9d9545557317c41d10a638f994 /runsc/container
parent3a6883a773ea8547f0aca5e20d36c096f2ac067a (diff)
parentc16e69a9d5ec3422b648a6d32842442925285a29 (diff)
Merge release-20210705.0-19-gc16e69a9d (automated)
Diffstat (limited to 'runsc/container')
-rw-r--r--runsc/container/container.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go
index 213fbc771..7f066905a 100644
--- a/runsc/container/container.go
+++ b/runsc/container/container.go
@@ -310,7 +310,7 @@ func New(conf *config.Config, args Args) (*Container, error) {
defer tty.Close()
}
- if err := c.Sandbox.CreateContainer(conf, c.ID, tty); err != nil {
+ if err := c.Sandbox.CreateSubcontainer(conf, c.ID, tty); err != nil {
return nil, err
}
}
@@ -388,7 +388,7 @@ func (c *Container) Start(conf *config.Config) error {
stdios = []*os.File{os.Stdin, os.Stdout, os.Stderr}
}
- return c.Sandbox.StartContainer(c.Spec, conf, c.ID, stdios, goferFiles)
+ return c.Sandbox.StartSubcontainer(c.Spec, conf, c.ID, stdios, goferFiles)
}); err != nil {
return err
}