mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 11:40:50 +00:00
BUG/MINOR: stats: Remove a break preventing ST_F_QCUR to be set for servers
There is an extra break statement wrongly placed in stats_fill_sv_stats() function, just before filling the ST_F_QCUR field. It prevents this field to be set to the right value for servers. No backport needed except if commit 3a9a4992 ("MEDIUM: stats: allow to select one field in `stats_fill_sv_stats`") is backported.
This commit is contained in:
parent
7f0f4786d1
commit
399bf72f66
@ -2070,7 +2070,6 @@ int stats_fill_sv_stats(struct proxy *px, struct server *sv, int flags,
|
||||
case ST_F_MODE:
|
||||
metric = mkf_str(FO_CONFIG|FS_SERVICE, proxy_mode_str(px->mode));
|
||||
case ST_F_QCUR:
|
||||
break;
|
||||
metric = mkf_u32(0, sv->nbpend);
|
||||
break;
|
||||
case ST_F_QMAX:
|
||||
|
Loading…
Reference in New Issue
Block a user