diff options
author | Mario Trangoni <mario@mariotrangoni.de> | 2018-04-29 14:35:43 +0200 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2018-04-29 14:35:43 +0200 |
commit | 24a28fcc9e9123b3b39058918f98b64a1938a0a9 (patch) | |
tree | 9274a24d965022e1464eea2a5ea7e01ad00fb099 /collector/collector.go | |
parent | c9f421d0dd8699396b3fd94dc6e595475d28ad1e (diff) | |
download | prometheus_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.go | 4 |
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 | ||
45 | func warnDeprecated(collector string) { | ||
46 | log.Warnf("The %s collector is deprecated and will be removed in the future!", collector) | ||
47 | } | ||
48 | |||
49 | const ( | 45 | const ( |
50 | defaultEnabled = true | 46 | defaultEnabled = true |
51 | defaultDisabled = false | 47 | defaultDisabled = false |