summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/oxidized/input/ssh.rb3
-rw-r--r--lib/oxidized/worker.rb1
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb
index 01f7063..ccc3d1c 100644
--- a/lib/oxidized/input/ssh.rb
+++ b/lib/oxidized/input/ssh.rb
@@ -122,8 +122,7 @@ module Oxidized
port: (vars(:ssh_port) || 22).to_i,
paranoid: secure,
keepalive: true,
- password: @node.auth[:password], timeout: Oxidized.config.timeout,
- number_of_password_prompts: 0
+ password: @node.auth[:password], timeout: Oxidized.config.timeout, number_of_password_prompts: 0
}
auth_methods = vars(:auth_methods) || %w(none publickey password)
diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb
index 06e8689..4b9614b 100644
--- a/lib/oxidized/worker.rb
+++ b/lib/oxidized/worker.rb
@@ -36,7 +36,6 @@ module Oxidized
Oxidized.logger.debug("lib/oxidized/worker.rb: #{@jobs.size} jobs running in parallel") unless @jobs.empty?
end
-
def process job
node = job.node
node.last = job