diff options
author | Tobias Schmidt <tobidt@gmail.com> | 2017-02-28 16:36:35 -0400 |
---|---|---|
committer | Tobias Schmidt <tobidt@gmail.com> | 2017-02-28 17:20:16 -0400 |
commit | 1bd94074dddb41d2aeccc17108b0b355a911ae02 (patch) | |
tree | 6f8267f06527f5db8a0f1a5283e0616f0658d376 /collector/hwmon_linux.go | |
parent | a7da926abb3a97d33908e7e8f57c0773f2c1a306 (diff) | |
download | prometheus_node_collector-1bd94074dddb41d2aeccc17108b0b355a911ae02.tar.bz2 prometheus_node_collector-1bd94074dddb41d2aeccc17108b0b355a911ae02.tar.xz prometheus_node_collector-1bd94074dddb41d2aeccc17108b0b355a911ae02.zip |
Delete unused code
Diffstat (limited to 'collector/hwmon_linux.go')
-rw-r--r-- | collector/hwmon_linux.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/collector/hwmon_linux.go b/collector/hwmon_linux.go index 1bc3367..c1f4ea4 100644 --- a/collector/hwmon_linux.go +++ b/collector/hwmon_linux.go | |||
@@ -29,10 +29,6 @@ import ( | |||
29 | "github.com/prometheus/common/log" | 29 | "github.com/prometheus/common/log" |
30 | ) | 30 | ) |
31 | 31 | ||
32 | const ( | ||
33 | hwMonSubsystem = "hwmon" | ||
34 | ) | ||
35 | |||
36 | var ( | 32 | var ( |
37 | hwmonInvalidMetricChars = regexp.MustCompile("[^a-z0-9:_]") | 33 | hwmonInvalidMetricChars = regexp.MustCompile("[^a-z0-9:_]") |
38 | hwmonFilenameFormat = regexp.MustCompile(`^(?P<type>[^0-9]+)(?P<id>[0-9]*)?(_(?P<property>.+))?$`) | 34 | hwmonFilenameFormat = regexp.MustCompile(`^(?P<type>[^0-9]+)(?P<id>[0-9]*)?(_(?P<property>.+))?$`) |