mirror of
https://github.com/docker/docs.git
synced 2026-03-29 15:28:51 +07:00
Fixed typo (thanks unit tests)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user