Closed james-d-elliott closed 2 months ago
[!CAUTION]
Review failed
The pull request is closed.
The change refines the WithValidateAttestationTypes
function in the in-memory provider, shifting the configuration focus from the provider's status to the attestation types. This update ensures that validation applies correctly to attestation mechanisms, aligning with intended functionality and fixing the identified issue in the previous implementation.
Files | Change Summary |
---|---|
metadata/providers/memory/options.go |
Modified WithValidateAttestationTypes to assign validate to provider.attestation instead of provider.status . |
Objective | Addressed | Explanation |
---|---|---|
Functional option should set provider.attestation flag (#[266]) |
✅ | |
Attestation types should not be verified if option is false (#[266]) | ✅ |
In the meadow, hops a clever rabbit,
Changing flags, oh what a habit!
With attestation now in sight,
Validation shines, oh what delight!
Hooray for changes, quick and bright! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This fixes an issue where the functional option sets the wrong value.
Fixes #266