commit | bb9665e6498bb93f7048cc900ae80ce350b54815 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Dec 14 16:14:15 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 14 16:14:15 2013 +0100 |
tree | abcba57344c6713f304425eaaf7a1dadbfcc4db7 | |
parent | 0d924cc74caf41ca458abfaf66dac7bd1de1e97f [diff] |
BUG/MEDIUM: checks: ensure we can enable a server after boot Since commit 58c3297 (MEDIUM: Set rise and fall of agent checks to 1), due to a bogus condition, it became impossible to re-enable a server that was disabled in the configuration if no agent was enabled. The reason is that in this case, the agent's health was zero while the condition expected it to be at least one to consider the action. Let's fix this by only considering the health of checks that are enabled.