diff options
author | Saku Ytti <saku@ytti.fi> | 2013-04-26 19:35:43 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2013-04-26 19:35:43 +0300 |
commit | 5fca52c86b50dd9754546902530530b9c0f6216b (patch) | |
tree | f0ece477d6518c2ef6ce9a38b77cb53d1f333060 /lib | |
parent | 3dc52f34c386409e65465aaa0878ac5db812570c (diff) |
1.9/2.0 compatibility fix + syslogd cleanup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/junos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index 72f5275..a7080e1 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -8,7 +8,7 @@ class JunOS < Oxidized::Model cmd :all do |cfg| # we don't need screen-scraping in ssh due to exec - cfg = cfg.lines[1..-2].join if telnet + cfg = cfg.lines.to_a[1..-2].join if telnet cfg end |