]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: get rid of the STAT_SHOWADMIN flag
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Oct 2019 09:11:46 +0000 (11:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 10 Oct 2019 09:30:07 +0000 (11:30 +0200)
commitab02b3f3456f1547fcbb6f7e564561711d3535e1
treec959803d243ec8882e20362a0e543f1c56771ce8
parent578d6e436058ae4a5cb88e716a8885231223ab95
MINOR: stats: get rid of the STAT_SHOWADMIN flag

This flag is used to decide to show the check box in front of a proxy
on the HTML stat page. It is always equal to STAT_ADMIN except when the
proxy has no backend capability (i.e. a pure frontend) or has no server,
in which case it's only used to avoid leaving an empty column at the
beginning of the table. Not only this is pretty useless, but it also
causes the columns not to align well when mixing multiple proxies with
or without servers.

Let's simply always use STAT_ADMIN and get rid of this flag.
include/types/stats.h
src/stats.c