-
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
server: ensure that service-defaults meta is incorporated into the discovery chain response #12511
Conversation
e94d91b
to
0441e7c
Compare
0f61568
to
65c1032
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.
The service meta portion of this looks good to me 👍 I reviewed the other part too, but don't have enough context to do a proper review.
…scovery chain response Also add a new "Default" field to the discovery chain response to clients
508ad93
to
64830bd
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.
Code looks great. Just the two minor things.
@@ -109,9 +109,17 @@ type CompiledDiscoveryChain struct { | |||
// non-customized versions. | |||
CustomizationHash string | |||
|
|||
// Default indicates if this discovery chain is based on no |
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.
Should the API docs be updated to account for these changes.
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.
IIRC we don't currently document the full disco chain response at all.
🍒 If backport labels were added before merging, cherry-picking will start automatically. To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/617584. |
Also add a new "Default" field to the discovery chain response to clients (cc @johncowen )
TODO: