diff options
Diffstat (limited to 'lib/oxidized/model/aos7.rb')
-rw-r--r-- | lib/oxidized/model/aos7.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/aos7.rb b/lib/oxidized/model/aos7.rb index 00bee54..2f1696c 100644 --- a/lib/oxidized/model/aos7.rb +++ b/lib/oxidized/model/aos7.rb @@ -6,7 +6,7 @@ class AOS7 < Oxidized::Model cmd :all do |cfg, cmdstring| new_cfg = comment "COMMAND: #{cmdstring}\n" - new_cfg << cfg.each_line.to_a[1..-2].join + new_cfg << cfg.cut_both end cmd 'show system' do |cfg| |