mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-20 06:08:33 +02:00
MINOR: stats: pass the appctx flags to stats_fill_info()
Currently the stats filling function knows nothing about the caller's needs, so let's pass the STAT_* flags so that it can adapt to the requester's constraints.
This commit is contained in:
@@ -45,7 +45,7 @@ int stats_putchk(struct channel *chn, struct htx *htx, struct buffer *chk);
|
||||
|
||||
int stats_dump_one_line(const struct field *stats, size_t stats_count, struct appctx *appctx);
|
||||
|
||||
int stats_fill_info(struct field *info, int len);
|
||||
int stats_fill_info(struct field *info, int len, uint flags);
|
||||
int stats_fill_fe_stats(struct proxy *px, struct field *stats, int len,
|
||||
enum stat_field *selected_field);
|
||||
int stats_fill_li_stats(struct proxy *px, struct listener *l, int flags,
|
||||
|
||||
Reference in New Issue
Block a user