commit | 3679d0c794961a99162afde80dac1d229173cca3 | [log] [tgz] |
---|---|---|
author | William Dauchy <wdauchy@gmail.com> | Sun Feb 14 23:22:55 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 15 14:13:32 2021 +0100 |
tree | d642611343f5ebb284ce3c4cdc302a7523800811 | |
parent | 655e14ef17cda6fd282a0c5578fe3d0841b00c13 [diff] |
MINOR: stats: add helper to get status string move listen status to a helper, defining both status enum and string definition. this will be helpful to be reused in prometheus code. It also removes this hard-to-read nested ternary. Signed-off-by: William Dauchy <wdauchy@gmail.com>