From bb0ff49ad46be5b09dfb6ebde3995bf3a0efa32b Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Fri, 22 Jun 2018 19:45:28 +0300 Subject: rubycop fixes --- lib/oxidized/input/ssh.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/oxidized/input') 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) -- cgit v1.2.1