Browse code

Update pull message and log

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)

Derek McGowan authored on 2014/10/09 08:11:04
Showing 1 changed files
... ...
@@ -453,9 +453,10 @@ func (s *TagStore) pullV2Tag(eng *engine.Engine, r *registry.Session, out io.Wri
453 453
 	}
454 454
 
455 455
 	if verified {
456
-		out.Write(sf.FormatStatus("", "The image you are pulling has been digitally signed by Docker, Inc."))
456
+		out.Write(sf.FormatStatus(localName+":"+tag, "The image you are pulling has been digitally signed by Docker, Inc."))
457
+	} else {
458
+		out.Write(sf.FormatStatus(tag, "Pulling from %s", localName))
457 459
 	}
458
-	out.Write(sf.FormatStatus(tag, "Pulling from %s", localName))
459 460
 
460 461
 	if len(manifest.BlobSums) == 0 {
461 462
 		return fmt.Errorf("no blobSums in manifest")
... ...
@@ -489,7 +490,7 @@ func (s *TagStore) pullV2Tag(eng *engine.Engine, r *registry.Session, out io.Wri
489 489
 		out.Write(sf.FormatProgress(utils.TruncateID(img.ID), "Pulling fs layer", nil))
490 490
 
491 491
 		downloadFunc := func(di *downloadInfo) error {
492
-			log.Infof("pulling blob %q to V1 img %s", sumStr, img.ID)
492
+			log.Debugf("pulling blob %q to V1 img %s", sumStr, img.ID)
493 493
 
494 494
 			if c, err := s.poolAdd("pull", "img:"+img.ID); err != nil {
495 495
 				if c != nil {