Skip to content

Commit

Permalink
Add reference attestation for multiple equivalent images
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-cronin committed Jan 27, 2025
1 parent 756ce80 commit 9e2bd89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/handler/collector/oci/oci.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func fetchOCIArtifactBlobs(
}
}

err = checkIfIsOccurrence(image, artifact, btr1, docChannel)
err = checkIfImageIsCopy(image, artifact, btr1, docChannel)
if err != nil {
// log error and continue
logger.Errorf("failed to check if blob is occurrence: %v", err)
Expand All @@ -485,7 +485,7 @@ func fetchOCIArtifactBlobs(
return nil
}

func checkIfIsOccurrence(
func checkIfImageIsCopy(
image ref.Ref,
artifact string,
blob []byte,
Expand Down

0 comments on commit 9e2bd89

Please sign in to comment.