server/buildfile: correct daemon.Create comments
s/and start it// Docker-DCO-1.1-Signed-off-by: Johan Euphrosine <proppy@google.com> (github: proppy) Upstream-commit: 8b31824ad6118ed505b43443816c1492e3d81c8c Component: engine
This commit is contained in:
@@ -637,7 +637,7 @@ func (b *buildFile) CmdAdd(args string) error {
|
||||
}
|
||||
}
|
||||
|
||||
// Create the container and start it
|
||||
// Create the container
|
||||
container, _, err := b.daemon.Create(b.config, "")
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -666,7 +666,7 @@ func (b *buildFile) create() (*daemon.Container, error) {
|
||||
}
|
||||
b.config.Image = b.image
|
||||
|
||||
// Create the container and start it
|
||||
// Create the container
|
||||
c, _, err := b.daemon.Create(b.config, "")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user