Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
  • Loading branch information
Wwwsylvia committed Oct 17, 2023
1 parent 485a11c commit 987b48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/remote/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ func (s *manifestStore) deleteWithIndexing(ctx context.Context, target ocispec.D
return err
}
// "pull" and "delete" scopes are required, "push" is potentially needed
// for pushing referrers index if client-side indexing is performed
// for client-side indexing
ctx = auth.AppendRepositoryScope(ctx, s.repo.Reference, auth.ActionPull, auth.ActionPush, auth.ActionDelete)
manifestJSON, err := content.FetchAll(ctx, s, target)
if err != nil {
Expand Down

0 comments on commit 987b48c

Please sign in to comment.