summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/comware.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2015-09-24 12:49:29 -0700
committerytti <saku@ytti.fi>2015-09-24 12:49:29 -0700
commit3734e611373413c3878628ff8a8d07ab93cc2b57 (patch)
treed9dfffe7559429c3b05147b1d70e7fb4f037806d /lib/oxidized/model/comware.rb
parent45d3c86737a4f037990afa161b6db02ca41d8507 (diff)
parent49df69e556be4f607ed32abaefce6100edbe6df5 (diff)
Merge pull request #192 from roock/master
model/comware: ignore lines with uptime (ingore case!) for real
Diffstat (limited to 'lib/oxidized/model/comware.rb')
-rw-r--r--lib/oxidized/model/comware.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/comware.rb b/lib/oxidized/model/comware.rb
index bfc1524..aa98ccb 100644
--- a/lib/oxidized/model/comware.rb
+++ b/lib/oxidized/model/comware.rb
@@ -38,7 +38,7 @@ class Comware < Oxidized::Model
end
cmd 'display version' do |cfg|
- cfg = cfg.each_line.select {|l| not l.match /uptime/ }.join
+ cfg = cfg.each_line.select {|l| not l.match /uptime/i }.join
comment cfg
end