mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
BUG/MINOR: stats: Add a break after filling ST_F_MODE field for servers
The previous patch was pushed too quickly (399bf72f6
"BUG/MINOR: stats:
Remove a break preventing ST_F_QCUR to be set for servers"). It was not an
extra break but a misplaced break statement. Thus, now a break statement
must be added after filling the ST_F_MODE field in stats_fill_sv_stats().
No backport needed except if the above commit is backported.
This commit is contained in:
parent
399bf72f66
commit
3888b8cd7b
@ -2069,6 +2069,7 @@ int stats_fill_sv_stats(struct proxy *px, struct server *sv, int flags,
|
||||
break;
|
||||
case ST_F_MODE:
|
||||
metric = mkf_str(FO_CONFIG|FS_SERVICE, proxy_mode_str(px->mode));
|
||||
break;
|
||||
case ST_F_QCUR:
|
||||
metric = mkf_u32(0, sv->nbpend);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user