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:
commit
bd5788960a
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue