commit | ba2f2649c2f373c4955000a2b077679d3822779a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 07 09:54:40 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 11 17:08:04 2016 +0100 |
tree | 62ab65150e4ed7fb587c84438fac98818da92261 | |
parent | 164d4a9e73042cad5928532cf5ca877a247ecf71 [diff] |
MEDIUM: stats: move the server state coloring logic to the server dump function It currently is really not convenient to have a state and a color detection outside of the function and to use these ones inside. It makes it harder to adjust the stats output based on the server state exactly. Let's move the logic into the dump function itself.