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
feat(server): Return global config status for downstream requests #2765
feat(server): Return global config status for downstream requests #2765
Changes from all commits
1af75c4
f15c2f5
f8b32df
fbd7b51
59ad725
2a11233
90a8fb5
edfacb3
7ecf771
c8f76d5
f8f78da
f1a3b72
9f91c32
48e3d4e
2688717
ab1aea5
efaadf7
9306047
9c9416c
ea83df1
b60d873
985539d
d0797bc
abcc195
8fca2a4
02e09ba
1c9295d
024aded
60b0a30
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.
Doesn't this also need a
#[serde(default)]
attribute (likeglobal
above)?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.
huh id think that was necessary yeah, but it's weird integration tests didnt fail because of that, since minisentry don't return a global_status
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.
anyway i added it
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.
We could remove the top
#[serde(default)]
, serde implicitly has the default behaviour for Option's, they are special in that sense.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.
i think its better when variables are declared closer to where theyre being used