diff options
author | ytti <saku@ytti.fi> | 2015-09-24 12:49:29 -0700 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2015-09-24 12:49:29 -0700 |
commit | 3734e611373413c3878628ff8a8d07ab93cc2b57 (patch) | |
tree | d9dfffe7559429c3b05147b1d70e7fb4f037806d | |
parent | 45d3c86737a4f037990afa161b6db02ca41d8507 (diff) | |
parent | 49df69e556be4f607ed32abaefce6100edbe6df5 (diff) |
Merge pull request #192 from roock/master
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 |