commit | 7aa327143968ff248792dbc2ceba18101fd7ab4a | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 01 13:11:50 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 01 15:16:33 2021 +0100 |
tree | a4e3849d8a8fe1930e2cc034e485d652c0956d61 | |
parent | ff97edac3ecb0643697ea5eb5f8596402b5a289e [diff] |
MINOR: checks: Add function to get the result code corresponding to a status The function get_check_status_result() can now be used to get the result code (CHK_RES_*) corresponding to a check status (HCHK_STATUS_*). It will be used by the Prometheus exporter when reporting the check status of a server.