diff options
author | Ben Kochie <superq@gmail.com> | 2018-02-19 15:44:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-19 15:44:59 +0100 |
commit | d33a447047f2f98eab5c500017da159fd545b9b6 (patch) | |
tree | 29371bc8fcb7624e6edf5fe4630f822c28d134b5 /Makefile | |
parent | 7928dc93da6838c27fc2569005e7f7cb2e2782d9 (diff) | |
download | prometheus_node_collector-d33a447047f2f98eab5c500017da159fd545b9b6.tar.bz2 prometheus_node_collector-d33a447047f2f98eab5c500017da159fd545b9b6.tar.xz prometheus_node_collector-d33a447047f2f98eab5c500017da159fd545b9b6.zip |
Remove deprecated prometheus.InstrumentHandlerFunc (#831)
Update Prometheus client golang use to use `promhttp.Handler()` instead
of `prometheus.InstrumentHandlerFunc()`.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -28,9 +28,7 @@ DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD)) | |||
28 | MACH ?= $(shell uname -m) | 28 | MACH ?= $(shell uname -m) |
29 | DOCKERFILE ?= Dockerfile | 29 | DOCKERFILE ?= Dockerfile |
30 | 30 | ||
31 | # TODO: Remove deprecated and problematic InstrumentHandlerFunc usage. | 31 | STATICCHECK_IGNORE = |
32 | STATICCHECK_IGNORE = \ | ||
33 | github.com/prometheus/node_exporter/node_exporter.go:SA1019 | ||
34 | 32 | ||
35 | ifeq ($(GOHOSTARCH),amd64) | 33 | ifeq ($(GOHOSTARCH),amd64) |
36 | # Only supported on amd64 | 34 | # Only supported on amd64 |