summaryrefslogtreecommitdiff
path: root/lib/oxidized/input
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2018-06-22 19:45:28 +0300
committerSaku Ytti <saku@ytti.fi>2018-06-22 19:45:28 +0300
commitbb0ff49ad46be5b09dfb6ebde3995bf3a0efa32b (patch)
tree7d058dd046a8409571b797e1e649acff6698e5af /lib/oxidized/input
parentd83eb5dd21c259bb2f81aa2cb1a92ed00a80c9a7 (diff)
rubycop fixes
Diffstat (limited to 'lib/oxidized/input')
-rw-r--r--lib/oxidized/input/ssh.rb3
1 files changed, 1 insertions, 2 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)