fix code note when push all tags
Signed-off-by: zhipengzuo <zuozhipeng@baidu.com>
This commit is contained in:
parent
88241b9989
commit
e07a88c95f
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…
Reference in a new issue