]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: replace state DISABLED with CONFIGURED and ENABLED
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Dec 2013 19:11:55 +0000 (20:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Dec 2013 15:02:19 +0000 (16:02 +0100)
commit2e10f5a759ffb51d26915f0ff3f59d4f05803064
tree0b624fe1edfee0a07753464ee9908030bd19b7c6
parent2c115e50472766a3c8b9afbc665982505a613c68
MINOR: checks: replace state DISABLED with CONFIGURED and ENABLED

At the moment, health checks and agent checks are tied : no agent
check is emitted if no health check is enabled. Other parameters
are considered in the condition for letting checks run. It will
help us selectively enable checks (agent and regular checks) to be
know whether they're enabled/disabled and configured or not. Now
we can already emit an error when trying to enable an unconfigured
agent.
include/types/checks.h
src/cfgparse.c
src/checks.c
src/dumpstats.c