From: Willy Tarreau Date: Fri, 23 Nov 2012 23:20:24 +0000 (+0100) Subject: BUG/MINOR: stats: fix inversion of the report of a check in progress X-Git-Tag: v1.5-dev14~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0eb2bed561134553eaa165204cab0d1289e1e4a8;p=thirdparty%2Fhaproxy.git BUG/MINOR: stats: fix inversion of the report of a check in progress Recent fix for health checks 5a78f36d inverted the condition to display a "*" in front of the check status on the stats page. --- diff --git a/src/dumpstats.c b/src/dumpstats.c index 988f94c7fd..7c9365b827 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -2933,7 +2933,7 @@ static int stats_dump_proxy(struct stream_interface *si, struct proxy *px, struc } chunk_appendf(&trash, "\"> %s%s", - (sv->state & SRV_CHK_RUNNING) ? "" : "* ", + (sv->state & SRV_CHK_RUNNING) ? "* " : "", get_check_status_info(sv->check.status)); if (sv->check.status >= HCHK_STATUS_L57DATA)