diff options
author | Roman Pertl <r.pertl@ixolit.com> | 2015-09-24 18:39:51 +0200 |
---|---|---|
committer | Roman Pertl <r.pertl@ixolit.com> | 2015-09-24 18:39:51 +0200 |
commit | 49df69e556be4f607ed32abaefce6100edbe6df5 (patch) | |
tree | d9dfffe7559429c3b05147b1d70e7fb4f037806d | |
parent | 45d3c86737a4f037990afa161b6db02ca41d8507 (diff) |
model/comware: ignore lines with uptime (ingore case!) for real
-rw-r--r-- | lib/oxidized/model/comware.rb | 2 |
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 |