summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorvppencilsharpener <tim.pray@gmail.com>2017-01-19 15:43:29 -0500
committerGitHub <noreply@github.com>2017-01-19 15:43:29 -0500
commitbf50a587aac201304e0bcfafa6864e1d5d8b2753 (patch)
tree1e303cc742a06f097276abfe805854f4ef038693 /lib/oxidized
parent1b73ac3f2ad4a209f826af8557f5527e478ea029 (diff)
Tweak the white space for cleaning.
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/aosw.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/aosw.rb b/lib/oxidized/model/aosw.rb
index 11d8442..1995292 100644
--- a/lib/oxidized/model/aosw.rb
+++ b/lib/oxidized/model/aosw.rb
@@ -90,7 +90,7 @@ class AOSW < Oxidized::Model
next if line.match /Output \d Config/i
next if line.match /(Tachometers|Temperatures|Voltages)/
next if line.match /((Card|CPU) Temperature|Chassis Fan|VMON1[0-9])/
- next if line.match /[0-9]+ (RPMS?|m?V|C)/i
+ next if line.match /[0-9]+\s+(RPMS?|m?V|C)/i
out << line.strip
end
out = comment out.join "\n"