attestation: improve debug message.

Let's reference a bottle filename here rather than a class instance ID.
This commit is contained in:
Mike McQuaid 2025-07-25 15:44:22 +00:00 committed by GitHub
parent 02c643cdd3
commit 4ee1015d94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,7 +222,7 @@ module Homebrew
attestation = check_attestation bottle, HOMEBREW_CORE_REPO
return attestation
rescue MissingAttestationError
odebug "falling back on backfilled attestation for #{bottle}"
odebug "falling back on backfilled attestation for #{bottle.filename}"
# Our backfilled attestation is a little unique: the subject is not just the bottle
# filename, but also has the bottle's hosted URL hash prepended to it.