From 0eb2bed561134553eaa165204cab0d1289e1e4a8 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 24 Nov 2012 00:20:24 +0100 Subject: [PATCH] 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. --- src/dumpstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3