mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -2933,7 +2933,7 @@ static int stats_dump_proxy(struct stream_interface *si, struct proxy *px, struc
|
|||
}
|
||||
|
||||
chunk_appendf(&trash, "\"><u> %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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue