commit | 837bfa74dba61914b44c120d6a2ce731f8138b3e | [log] [tgz] |
---|---|---|
author | Simon Horman <horms@verge.net.au> | Thu Apr 23 14:51:27 2015 +0900 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 23 09:57:51 2015 +0200 |
tree | 1a15ff455323185440d03171a72ec4cbc1b328d7 | |
parent | 4d2eab61d4b468231e63f4f00ad0afb695f53185 [diff] |
MEDIUM: stats: Separate server state and colour in stats There is a relationship between the state and colour of a server in stats, however, it is not a one-to-one relationship and the current implementation has proved fragile. This patch attempts to address that problem by clearly separating state and colour. A follow-up patch will further distinguish between DRAIN states and DRAINING colours. Signed-off-by: Simon Horman <horms@verge.net.au>