Browse Source

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 10 years ago
parent
commit
3b8d4bb82b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      graph/pull.go

+ 2 - 0
graph/pull.go

@@ -602,6 +602,8 @@ func (s *TagStore) pullV2Tag(eng *engine.Engine, r *registry.Session, out io.Wri
 			if _, exists := repo[tag]; !exists {
 				tagUpdated = true
 			}
+		} else {
+			tagUpdated = true
 		}
 	}