From 49df69e556be4f607ed32abaefce6100edbe6df5 Mon Sep 17 00:00:00 2001 From: Roman Pertl Date: Thu, 24 Sep 2015 18:39:51 +0200 Subject: model/comware: ignore lines with uptime (ingore case!) for real --- lib/oxidized/model/comware.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1