mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-11 09:37:20 +02:00
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:
parent
4a6e5c6d69
commit
0eb2bed561
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user