BUG/MINOR: stats: Fix color of draining servers on stats page
authorDaniel Corbett <dcorbett@haproxy.com>
Sat, 28 Mar 2020 16:35:50 +0000 (12:35 -0400)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Mar 2020 15:22:29 +0000 (17:22 +0200)
commit3c9b1144e67a071300f2201979f5937124df5d87
tree1cb125444bef035b180aca2241e92526937012f6
parentd884f7e4ec6d085577ba0040ef01036d5c34fed4
BUG/MINOR: stats: Fix color of draining servers on stats page

This patch fixes #53 where it was noticed that when an active
server is set to DRAIN it no longer has the color blue reflected
within the stats page. This patch addresses that and adds the
color back to drain. It's to be noted that backup servers are
configured to have an orange color when they are draining.

Should be backported as far as 1.7.

(cherry picked from commit b428517fee01b92546ee82cf420644d548f15a90)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/stats.c