Repository navigation
Remove extra quotes for strings in metadata formatter - #16736
Merged
Merged
Conversation
itamarkam
marked this pull request as ready for review
May 31, 2021 13:36
Contributor
Author
|
/assign htuch |
Contributor
Author
|
/assign yanavlasov |
yanavlasov
previously approved these changes
Jun 2, 2021
Contributor
|
LGTM, the format complains about the ordering of the runtime keys in the array. Good to go after it is fixed. /wait |
Contributor
Author
Done. |
yanavlasov
previously approved these changes
Jun 3, 2021
Contributor
|
It looks like //test/integration:proxy_proto_integration_test uses access logging in tests and expects double quotes. I think we can just fix the test to use single quotes, since it is the new expectation. |
itamarkam
force-pushed
the
main
branch
3 times, most recently
from
June 3, 2021 17:48
90dd3c7 to
177f74f
Compare
yanavlasov
previously approved these changes
Jun 4, 2021
Contributor
|
We may need to wait for windows build to be fixed and merge main. |
Contributor
|
Windows build was fixed. Please merge main. |
Signed-off-by: Itamar Kaminski <[email protected]>
Contributor
Author
Done. |
yanavlasov
approved these changes
Jun 8, 2021
leyao-daily
pushed a commit
to leyao-daily/envoy
that referenced
this pull request
Sep 30, 2021
Signed-off-by: Itamar Kaminski <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Commit Message: Remove extra quotes for strings in metadata formatter
Additional Description: string values in metadata are handled the same way objects are, which adds escaped quotes around them. This change removes these extra quotes (with a runtime flag "unquote_log_string_values").
Risk Level: Low - will change logging behavior for string metadata values, but flag protected.
Testing: Unit tests.
Docs Changes: N/A
Release Notes: access_log: remove extra quotes on metadata string values. This behavior can be temporarily reverted by setting
envoy.reloadable_features.unquote_log_string_valuesto false.Platform Specific Features:
[Optional Runtime guard:] unquote_log_string_values runtime flag (defaults to new behavior)
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]