Skip to content

Fix serviceConfig within scope of copy #211

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NeatGuyCoding
Copy link

@NeatGuyCoding NeatGuyCoding commented Jun 30, 2025

Fix #210

@onobc
Copy link
Contributor

onobc commented Jun 30, 2025

Hi @NeatGuyCoding , good catch and thank you for the contribution. Can you please follow these instructions and sign the commit and we will get it merged after that? Thanks

@@ -349,6 +349,8 @@ public ChannelConfig copy() {
copy.defaultDeadline = this.defaultDeadline;
copy.health.copyValuesFrom(this.getHealth());
copy.ssl.copyValuesFrom(this.getSsl());
copy.serviceConfig.clear();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can drop this clear call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

serviceConfig should be involved in the copy() of GrpcClientProperties
2 participants