summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-01-19 23:18:37 +0200
committerGitHub <noreply@github.com>2017-01-19 23:18:37 +0200
commit8375aa0ad364e4cb274ba96be1ddfb312c148e38 (patch)
tree1e303cc742a06f097276abfe805854f4ef038693 /lib/oxidized
parent1b73ac3f2ad4a209f826af8557f5527e478ea029 (diff)
parentbf50a587aac201304e0bcfafa6864e1d5d8b2753 (diff)
Merge pull request #668 from vppencilsharpener/WhiteSpaceTweak
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"