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:
commit
2b3b03b596
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue