summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ipos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/ipos.rb')
-rw-r--r--lib/oxidized/model/ipos.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/model/ipos.rb b/lib/oxidized/model/ipos.rb
index 753c6b1..7348592 100644
--- a/lib/oxidized/model/ipos.rb
+++ b/lib/oxidized/model/ipos.rb
@@ -6,15 +6,15 @@ class IPOS < Oxidized::Model
comment '! '
cmd 'show chassis' do |cfg|
- comment cfg.each_line.to_a[0..-2].join
+ comment cfg.cut_tail
end
cmd 'show hardware' do |cfg|
- comment cfg.each_line.to_a[0..-2].join
+ comment cfg.cut_tail
end
cmd 'show release' do |cfg|
- comment cfg.each_line.to_a[0..-2].join
+ comment cfg.cut_tail
end
cmd 'show configuration' do |cfg|