summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/hpebladesystem.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/hpebladesystem.rb')
-rw-r--r--lib/oxidized/model/hpebladesystem.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/hpebladesystem.rb b/lib/oxidized/model/hpebladesystem.rb
index 75d2dbf..8eb83e2 100644
--- a/lib/oxidized/model/hpebladesystem.rb
+++ b/lib/oxidized/model/hpebladesystem.rb
@@ -11,7 +11,7 @@ class HPEBladeSystem < Oxidized::Model
cmd :all do |cfg|
cfg = cfg.delete("\r").each_line.to_a[0..-1].map { |line| line.rstrip }.join("\n") + "\n"
- cfg.each_line.to_a[0..-2].join
+ cfg.cut_tail
end
cmd :secret do |cfg|