lib/oxidized/model/comware.rb in oxidized-0.14.1 vs lib/oxidized/model/comware.rb in oxidized-0.14.2

- old
+ new

@@ -11,9 +11,11 @@ # data.sub re, '' #end cmd :all do |cfg| #cfg.gsub! /^.*\e\[42D/, '' # example how to handle pager + #skip rogue ^M + cfg = cfg.gsub /\r/, '' cfg.each_line.to_a[1..-2].join end cfg :telnet do username /^Username:$/