Skip to content

rls: delegating helper for rls child policies - #6904

Merged
creamsoup merged 2 commits into
grpc:masterfrom
creamsoup:rls_clbh
Apr 11, 2020
Merged

rls: delegating helper for rls child policies#6904
creamsoup merged 2 commits into
grpc:masterfrom
creamsoup:rls_clbh

Conversation

@creamsoup

Copy link
Copy Markdown
Contributor

No description provided.

@creamsoup
creamsoup requested a review from dapengzhang0 April 7, 2020 17:37
@creamsoup creamsoup changed the title girls: delegating helper for rls child policies rls: delegating helper for rls child policies Apr 7, 2020
@dapengzhang0 dapengzhang0 self-assigned this Apr 7, 2020
this.picker = checkNotNull(picker, "picker");
}

ChildLoadBalancerHelper forTarget(String target) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is just Helper as return value type sufficient?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, Helper is sufficient and it is usually better choice. I am worried about passing/using wrong helper. There will be another helper class (total 3 helpers - original from channel, this one and the other one not sent yet). Using it as Helper class confused me, so probably it will confuse other people.

@creamsoup
creamsoup merged commit 1a1583d into grpc:master Apr 11, 2020
@creamsoup
creamsoup deleted the rls_clbh branch April 11, 2020 07:20
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 15, 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.

2 participants