mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-02 21:30:25 -05: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
1 changed files with 0 additions and 1 deletions
|
|
@ -2070,7 +2070,6 @@ int stats_fill_sv_stats(struct proxy *px, struct server *sv, int flags,
|
||||||
case ST_F_MODE:
|
case ST_F_MODE:
|
||||||
metric = mkf_str(FO_CONFIG|FS_SERVICE, proxy_mode_str(px->mode));
|
metric = mkf_str(FO_CONFIG|FS_SERVICE, proxy_mode_str(px->mode));
|
||||||
case ST_F_QCUR:
|
case ST_F_QCUR:
|
||||||
break;
|
|
||||||
metric = mkf_u32(0, sv->nbpend);
|
metric = mkf_u32(0, sv->nbpend);
|
||||||
break;
|
break;
|
||||||
case ST_F_QMAX:
|
case ST_F_QMAX:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue