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

Refactor available #2532

Merged
merged 4 commits into from
Jul 31, 2019
Merged

Refactor available #2532

merged 4 commits into from
Jul 31, 2019

Conversation

ganmacs
Copy link
Member

@ganmacs ganmacs commented Jul 30, 2019

Which issue(s) this PR fixes:

no

What this PR does / why we need it:

Removed duplicated @available and public method.

Docs Changes:

no

Release Note:

no

Becuase the method available? does not represent established connect
is success or not and load_balancer doesn't chose disabled node.

Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Because the only way to disable node in this loop is calling disable!
in this method.
At the same time, calling disable calls break as well.

Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
@ganmacs ganmacs requested a review from repeatedly July 30, 2019 09:20
@repeatedly repeatedly merged commit 5662a39 into fluent:master Jul 31, 2019
@repeatedly
Copy link
Member

Looks good.

@ganmacs ganmacs deleted the refactor-available branch July 31, 2019 03:42
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.

2 participants