summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2013-10-24 12:48:53 +0300
committerSaku Ytti <saku@ytti.fi>2013-10-24 12:48:53 +0300
commit0060d65fb92c2e09ec04e6bccb25f53338b71d0a (patch)
tree8d22c80d4ff36a1bc18d275d60e71020bd02b1c6 /extra
parent1b4cf651d5b7e9e032a7bc0636c569d0419f2ded (diff)
parentedaf887b86d84378c94ef02fe7200e70f93f9279 (diff)
Merge https://github.com/p-sherratt/oxidized work
* IOS model conditional support for enable password * rest_client fix * rescue more errors in ssh
Diffstat (limited to 'extra')
-rw-r--r--extra/rest_client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/rest_client.rb b/extra/rest_client.rb
index 88daeae..19f2439 100644
--- a/extra/rest_client.rb
+++ b/extra/rest_client.rb
@@ -6,9 +6,9 @@ module Oxidized
PORT = 8888
class << self
- def next node, opt={}, host=HOST, port=PORT
+ def next opt={}, host=HOST, port=PORT
web = new host, port
- web.next node, opt
+ web.next opt
end
end