switch skipping from error to debug

Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
Victor Vieux 2014-06-02 20:47:07 +00:00
parent afb2d5de3d
commit af6ab357e8
1 changed files with 2 additions and 2 deletions

View File

@ -1095,7 +1095,7 @@ func (srv *Server) pullImage(r *registry.Registry, out io.Writer, imgID, endpoin
// ensure no two downloads of the same layer happen at the same time // ensure no two downloads of the same layer happen at the same time
if c, err := srv.poolAdd("pull", "layer:"+id); err != nil { if c, err := srv.poolAdd("pull", "layer:"+id); err != nil {
utils.Errorf("Image (id: %s) pull is already running, skipping: %v", id, err) utils.Debugf("Image (id: %s) pull is already running, skipping: %v", id, err)
<-c <-c
} }
defer srv.poolRemove("pull", "layer:"+id) defer srv.poolRemove("pull", "layer:"+id)
@ -1234,7 +1234,7 @@ func (srv *Server) pullRepository(r *registry.Registry, out io.Writer, localName
<-c <-c
out.Write(sf.FormatProgress(utils.TruncateID(img.ID), "Download complete", nil)) out.Write(sf.FormatProgress(utils.TruncateID(img.ID), "Download complete", nil))
} else { } else {
utils.Errorf("Image (id: %s) pull is already running, skipping: %v", img.ID, err) utils.Debugf("Image (id: %s) pull is already running, skipping: %v", img.ID, err)
} }
if parallel { if parallel {
errors <- nil errors <- nil