Explorar o código

Tag all images after pulling them

Guillaume J. Charmes %!s(int64=12) %!d(string=hai) anos
pai
achega
d756ae4cb3
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      server.go

+ 0 - 4
server.go

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