BUG/MINOR: stats: Apply proper styles in HTML status page.
authorFlorian Apolloner <florian@apolloner.eu>
Tue, 30 Mar 2021 11:28:35 +0000 (13:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 30 Mar 2021 14:57:22 +0000 (16:57 +0200)
commit39272c28bffcf57c050703b356c9381df454dea7
tree9794bd6ae5f0cbb2a99cdd83c489e3f22188a968
parent50623029f8171f7f499529f8002d3093fca12667
BUG/MINOR: stats: Apply proper styles in HTML status page.

When a backend is in status DOWN and going UP it is currently displayed
as yellow ("active UP, going down") instead of orange ("active DOWN, going
UP"). This patches restyles the table rows to actually match the
legend.

This may be backported to any version, the issue appeared in 1.7-dev2
with commit 0c378efe8 ("MEDIUM: stats: compute the color code only in
the HTML form").
src/stats.c