From ed7e44e788adfd9238c37aa7aeaab088defef568 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Thu, 26 Mar 2015 10:27:10 +0100 Subject: [PATCH] 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 Upstream-commit: 3b8d4bb82ba6abf728cd40c838bfd665f8d10639 Component: engine --- components/engine/graph/pull.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/engine/graph/pull.go b/components/engine/graph/pull.go index 0a6b2800c0..90206ea8b6 100644 --- a/components/engine/graph/pull.go +++ b/components/engine/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 } }