-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
bugfix: failed to get host
in health check configuration.
#1871
bugfix: failed to get host
in health check configuration.
#1871
Conversation
@membphis the test case cannot get the warn log thrown by the health check, please help to check. |
I check the source code, and I found two points.
https://github.com/apache/incubator-apisix/blob/master/apisix/balancer.lua#L180-L185 I think we can create a new PR to fix this bug first.
The default status is SUCCESS, if the status is SUCCESS always, we never can get a log like |
Thanks @membphis for your help. |
I think this PR is not backward compatible. please confirm this. |
@membphis this is a bug fix, using the previous data structure, so it is backward compatible. |
ok, got it. let us merge this PR. |
@shuaijinchao merged, many thx |
What this PR does / why we need it:
Pre-submission checklist:
FIX #1869