1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #41117 from zhipengzuo/master

fix code note when push all tags
This commit is contained in:
Akihiro Suda 2020-06-17 17:44:33 +09:00 committed by GitHub
commit bd5788960a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ func (p *v2Pusher) pushV2Repository(ctx context.Context) (err error) {
return errors.New("cannot push a digest reference")
}
// Pull all tags
// Push all tags
pushed := 0
for _, association := range p.config.ReferenceStore.ReferencesByName(p.ref) {
if namedTagged, isNamedTagged := association.Ref.(reference.NamedTagged); isNamedTagged {