lib/oxidized/model/comware.rb in oxidized-0.25.1 vs lib/oxidized/model/comware.rb in oxidized-0.26.0

- old
+ new

@@ -12,10 +12,10 @@ # end cmd :all do |cfg| # cfg.gsub! /^.*\e\[42D/, '' # example how to handle pager # skip rogue ^M - cfg = cfg.gsub /\r/, '' + cfg = cfg.delete "\r" cfg.cut_both end cmd :secret do |cfg| cfg.gsub! /^( snmp-agent community).*/, '\\1 <configuration removed>'