1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #5837 from proppy/patch-2

server/buildfile: correct daemon.Create comments
This commit is contained in:
Victor Vieux 2014-05-16 10:51:09 -07:00
commit 2b3b03b596

View file

@ -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