Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add tls-min-version parameter #1103
Add tls-min-version parameter #1103
Changes from 3 commits
13ad34d
22a02e3
52b742f
5c6827e
1f107e5
832beec
0cc2d18
0f68c67
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
If we store only the code in the value, we could have also a map here to convert it back to string.
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.
Previously, a wrong value set in an Environment variable was not raising an error
For instance, this was not failing:
$ EPR_FEATURE_STORAGE_INDEXER=aaddb ./package-registry`
And now, that same command would raise an error:
$ EPR_FEATURE_STORAGE_INDEXER=aaddb ./package-registry 2023/10/25 18:29:20 failed to set -feature-storage-indexer: parse error
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.
Keep two values to be easier to compare if it is set or not this parameter.
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.
Umm, why not using a tls value directly here? We would also have the members for further uses.
It could implement an
IsZero() bool
method to make it easy to check if it is set or not 🙂