Forráskód Böngészése

Merge pull request #41117 from zhipengzuo/master

fix code note when push all tags
Akihiro Suda 5 éve
szülő
commit
bd5788960a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      distribution/push_v2.go

+ 1 - 1
distribution/push_v2.go

@@ -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 {