-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
NET-5912/service-defaults protocol validation #21593
Conversation
0751dc1
to
1c92192
Compare
1c92192
to
1b68af1
Compare
caf53d4
to
dac29ef
Compare
dac29ef
to
239db97
Compare
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.
Hey @JadhavPoonam
I left a question before I can approve this change. That said, I find it really funny that all our test cases test for the actual field being with an unsupported value udp
😆
239db97
to
48e3b08
Compare
221ae7a
to
76fe462
Compare
76fe462
to
6d73e47
Compare
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.
LGTM! 🚀
* fix: add validation for protocol field on service-defaults config entry * test: update test cases with correct protocol
Description
protocol
field forservice-defaults
. With this change, the CLI and HTTP API only allows values listed in the documentation.Testing & Reproduction steps
v1/config
) and CLIconfig write
Links
Ticket: https://hashicorp.atlassian.net/browse/NET-5912
PR Checklist