From d11f8c9b3398ea3e4704cc50ab9182324fc5deb0 Mon Sep 17 00:00:00 2001 From: "Lixia (Sylvia) Lei" Date: Mon, 11 Sep 2023 16:00:15 +0800 Subject: [PATCH] minor rewording Signed-off-by: Lixia (Sylvia) Lei --- registry/remote/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/remote/repository.go b/registry/remote/repository.go index ab13604d..62aa9c78 100644 --- a/registry/remote/repository.go +++ b/registry/remote/repository.go @@ -1432,7 +1432,7 @@ func (s *manifestStore) updateReferrersIndex(ctx context.Context, subject ocispe indexDesc, referrers, err := s.repo.referrersFromIndex(ctx, referrersTag) if err != nil { if errors.Is(err, errdef.ErrNotFound) { - // valid case: the old index does not exist + // valid case: no old referrers index return nil } return err