-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add config advertise-addr for drainer #634
Conversation
ce56fe1
to
6ef58f4
Compare
/run-all-tests |
df8f011
to
902be22
Compare
/run-all-tests |
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test showing that, after calling .adjustConfig()
, an empty AdvertiseAddr
will be filled in with Addr
, and an existing AdvertiseAddr will not get overridden.
Rest LGTM.
73ffe6f
to
b33fb96
Compare
It seems like there's already one such test for |
/run-all-tests |
/run-all-tests |
LGTM |
I mean specifically a test for AdvertiseAddr and Addr, as AdjustString working correctly isn't a proof that it's used correctly. |
/run-all-tests |
OK, new cases added in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit b2339c2.
/run-all-tests |
What problem does this PR solve?
Fix #265
What is changed and how it works?
Add advertise-addr config for drainer, the default value is compatible
with older version, which is the same as listen-addr.
Check List
Tests
Code changes
Side effects
Related changes