commit | 7344f4789321ef8ce2ce17cf73dabd672f7c8c69 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 11 12:04:02 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 11 17:08:04 2016 +0100 |
tree | 286a0b9281fd06dbd7ec08bd31dbcdcea6f6b01d | |
parent | 8a8cce1f872ae06e20d7f2689b8b94549df5e53e [diff] |
MINOR: stats: only report backend's down time if it has servers There's no point in reporting a backend's up/down time if it has no servers. The CSV output used to report "0" for a serverless backend while the HTML version already removed the field. For servers, this field is already omitted if checks are disabled. Let's uniformize all of this and remove the field in CSV as well when irrelevant.