Browse code

Consider tag updated also in case repo does not exist

This patch causes `The image you are pulling has been verified` status
message to be produced also when the repository is pulled for the first
time.

Signed-off-by: Michal Minar <miminar@redhat.com>

Michal Minar authored on 2015/03/26 18:27:10
Showing 1 changed files
... ...
@@ -602,6 +602,8 @@ func (s *TagStore) pullV2Tag(eng *engine.Engine, r *registry.Session, out io.Wri
602 602
 			if _, exists := repo[tag]; !exists {
603 603
 				tagUpdated = true
604 604
 			}
605
+		} else {
606
+			tagUpdated = true
605 607
 		}
606 608
 	}
607 609