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.
This commit is contained in:
Willy Tarreau 2012-11-24 00:20:24 +01:00
parent 4a6e5c6d69
commit 0eb2bed561

View File

@ -2933,7 +2933,7 @@ static int stats_dump_proxy(struct stream_interface *si, struct proxy *px, struc
} }
chunk_appendf(&trash, "\"><u> %s%s", chunk_appendf(&trash, "\"><u> %s%s",
(sv->state & SRV_CHK_RUNNING) ? "" : "* ", (sv->state & SRV_CHK_RUNNING) ? "* " : "",
get_check_status_info(sv->check.status)); get_check_status_info(sv->check.status));
if (sv->check.status >= HCHK_STATUS_L57DATA) if (sv->check.status >= HCHK_STATUS_L57DATA)