Closed bjhaid closed 7 years ago
looks good, can you add note in the commit message that 'status' will report UP when there are no backends
missed the header, this looks good :+1:
The error in 1.9.3 travis is a bug with the version of bundler used:
https://github.com/bundler/bundler/issues/3558
We can include installing a newer version of bundler in before_install
but I'll merge this PR regardless tomorrow
backend configured, this PR uses backend 'weight' instead of backend 'status' from the haproxy stats socket to represent a backend's state as this represents the total weights of the backends and will be 0 when there's no backend configured.