-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Ability to store peer certificate chain #362
Conversation
let store_server_cert_chain = connector_data | ||
.is_some_and(|data| data.connect_config_input.store_server_certificate_chain); | ||
|
||
let server_certificate_chain = if let Some(chain) = store_server_cert_chain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might feel like a nit pick but it's not. Use a match statement please as it gives protections, in general.
So match .... { Some(chain) => ... , None => None }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Feel free to merge, added 1 requested change but you can immediately squash-merge once that one is solved
No description provided.