Tag all images after pulling them

Upstream-commit: d756ae4cb376e218ff4dd35a7b9a9fa346fbb04d
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-05-20 15:19:05 -07:00
parent 4582eb4daf
commit d4d1d3980d

View File

@ -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 {