]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: contrib/prometheus: fix build breakage caused by move of idle_pct
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Jun 2019 08:38:48 +0000 (10:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Jun 2019 08:38:48 +0000 (10:38 +0200)
commit76824a8c99c69fad7e70b0914c21ac335959771e
tree2da15971e1c85207ef2659901e4e5268a023eb75
parent2a54bb74cd7eaec573941a74b165d3586a8ea528
BUILD: contrib/prometheus: fix build breakage caused by move of idle_pct

The idle_pct thread-local variable was moved to struct thread_info by
commit 81036f2 ("MINOR: time: move the cpu, mono, and idle time to
thread_info") but not updated in service-prometheus.c, thus breaking
it.

No backport is needed. This fixes GH issue #110.
contrib/prometheus-exporter/service-prometheus.c