mirror of https://github.com/docker/docs.git
Merge pull request #5837 from proppy/patch-2
server/buildfile: correct daemon.Create comments
This commit is contained in:
commit
2b3b03b596
|
|
@ -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, "")
|
container, _, err := b.daemon.Create(b.config, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
@ -666,7 +666,7 @@ func (b *buildFile) create() (*daemon.Container, error) {
|
||||||
}
|
}
|
||||||
b.config.Image = b.image
|
b.config.Image = b.image
|
||||||
|
|
||||||
// Create the container and start it
|
// Create the container
|
||||||
c, _, err := b.daemon.Create(b.config, "")
|
c, _, err := b.daemon.Create(b.config, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue