mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Tag all images after pulling them
This commit is contained in:
parent
bebbbf914b
commit
d756ae4cb3
1 changed files with 0 additions and 4 deletions
|
@ -371,11 +371,7 @@ func (srv *Server) pullRepository(out io.Writer, remote, askedTag string) error
|
|||
fmt.Fprintf(out, "Error while retrieving image for tag: %s (%s); checking next endpoint\n", askedTag, err)
|
||||
continue
|
||||
}
|
||||
if err := srv.runtime.repositories.Set(remote, img.Tag, img.Id, true); err != nil {
|
||||
return err
|
||||
}
|
||||
success = true
|
||||
delete(tagsList, img.Tag)
|
||||
break
|
||||
}
|
||||
if !success {
|
||||
|
|
Loading…
Reference in a new issue