Skip to content
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

xds: fix wrong number type for generated raw config #7880

Conversation

voidzcy
Copy link
Contributor

@voidzcy voidzcy commented Feb 8, 2021

JsonUtil is expecting numbers from parsed JSON string to be Double.


This should the fix interop header matching test failure.
TODO: Need to backport to 1.31 as well.

@voidzcy voidzcy changed the title xds: fix wrong number type (should be Double instead of Long) for generated raw config xds: fix wrong number type for generated raw config Feb 9, 2021
@voidzcy voidzcy merged commit f42f709 into grpc:v1.32.x Feb 9, 2021
voidzcy added a commit to voidzcy/grpc-java that referenced this pull request Feb 9, 2021
JsonUtil is expecting numbers in Map<String, ?> to be Double. The generated raw config (Ma<String, ?>) should use Double for numerical values put into it.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants