aboutsummaryrefslogtreecommitdiff
path: root/collector/collector.go
diff options
context:
space:
mode:
authorMario Trangoni <mario@mariotrangoni.de>2018-04-29 14:35:43 +0200
committerJohannes 'fish' Ziemke <github@freigeist.org>2018-04-29 14:35:43 +0200
commit24a28fcc9e9123b3b39058918f98b64a1938a0a9 (patch)
tree9274a24d965022e1464eea2a5ea7e01ad00fb099 /collector/collector.go
parentc9f421d0dd8699396b3fd94dc6e595475d28ad1e (diff)
downloadprometheus_node_collector-24a28fcc9e9123b3b39058918f98b64a1938a0a9.tar.bz2
prometheus_node_collector-24a28fcc9e9123b3b39058918f98b64a1938a0a9.tar.xz
prometheus_node_collector-24a28fcc9e9123b3b39058918f98b64a1938a0a9.zip
Remove unused func, var, and const (#928)
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Diffstat (limited to 'collector/collector.go')
-rw-r--r--collector/collector.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/collector/collector.go b/collector/collector.go
index e9a78f0..f657a66 100644
--- a/collector/collector.go
+++ b/collector/collector.go
@@ -42,10 +42,6 @@ var (
42 ) 42 )
43) 43)
44 44
45func warnDeprecated(collector string) {
46 log.Warnf("The %s collector is deprecated and will be removed in the future!", collector)
47}
48
49const ( 45const (
50 defaultEnabled = true 46 defaultEnabled = true
51 defaultDisabled = false 47 defaultDisabled = false