From e07a88c95ff4e618499cf1ef1eb3ab2f9b9017e1 Mon Sep 17 00:00:00 2001 From: zhipengzuo Date: Tue, 16 Jun 2020 21:05:10 +0800 Subject: [PATCH] fix code note when push all tags Signed-off-by: zhipengzuo --- distribution/push_v2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/push_v2.go b/distribution/push_v2.go index 08515808a7..582fb26680 100644 --- a/distribution/push_v2.go +++ b/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 {