mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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>
This commit is contained in:
parent
bc0f1e0e09
commit
3b8d4bb82b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue