mirror of
https://github.com/clearlinux/docker.git
synced 2026-05-16 19:53:41 +00: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