]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: promex: Always pass the final name and description to promex_dmp_ts()
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 31 Jan 2024 10:54:58 +0000 (11:54 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 2 Feb 2024 08:11:34 +0000 (09:11 +0100)
commit1e13796792eb1f6231e7e81fee73f4ce164657da
treeb4fcfe0b53ffb352c592601b4c06ffba400d4d83
parentc4b723df994cdebd89a6b5937ddd40fe17143c46
MINOR: promex: Always pass the final name and description to promex_dmp_ts()

It is easier this way, especially for promex modules. And because name and
description are now explicitly passed to this function, there is no reason
to still pass the metric, its type is enough. The function is easier to read
this way.
addons/promex/service-prometheus.c