mirror of https://github.com/docker/docs.git
Fixed typo (thanks unit tests)
This commit is contained in:
parent
31c66d5a00
commit
3be7bc38e0
|
@ -52,7 +52,7 @@ func (b *buildFile) CmdFrom(name string) error {
|
|||
image, err := b.runtime.repositories.LookupImage(name)
|
||||
if err != nil {
|
||||
if b.runtime.graph.IsNotExist(err) {
|
||||
tag, remote := parseRepositoryTag(name)
|
||||
remote, tag := parseRepositoryTag(name)
|
||||
if err := b.srv.ImagePull(remote, tag, b.out, utils.NewStreamFormatter(false), nil); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue