Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

advancedtls: Rename RevocationConfig #7151

Merged
merged 11 commits into from Apr 30, 2024

Conversation

gtcooke94
Copy link
Contributor

@gtcooke94 gtcooke94 commented Apr 18, 2024

This PR renames RevocationConfig to RevocationOptions to match the naming of all of our other Options structs. A type alias remains as to not break existing code.

RELEASE NOTES: none

@gtcooke94 gtcooke94 requested a review from erm-g April 18, 2024 21:01
@gtcooke94 gtcooke94 added this to the 1.64 Release milestone Apr 18, 2024
@gtcooke94 gtcooke94 added Type: Internal Cleanup Refactors, etc Type: Security A bug or other problem affecting security labels Apr 18, 2024
security/advancedtls/advancedtls.go Show resolved Hide resolved
@@ -55,8 +55,9 @@ type Cache interface {
Get(key any) (value any, ok bool)
}

// RevocationConfig contains options for CRL lookup.
type RevocationConfig struct {
// RevocationOptions allows a user to configure revocation using certificate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd word it like 'RevocationOptions allows users to configure certification revocation behavior' - WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that more, changed

@gtcooke94 gtcooke94 requested a review from erm-g April 23, 2024 19:36
@gtcooke94 gtcooke94 requested a review from dfawley April 25, 2024 17:46
@gtcooke94 gtcooke94 assigned dfawley and unassigned erm-g Apr 25, 2024
@ginayeh ginayeh assigned arvindbr8 and unassigned dfawley Apr 30, 2024
@ginayeh ginayeh requested a review from arvindbr8 April 30, 2024 16:30
@arvindbr8 arvindbr8 merged commit b433b94 into grpc:master Apr 30, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Internal Cleanup Refactors, etc Type: Security A bug or other problem affecting security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants