From 55602de1caa49016a2b54a34424e08c37ab2f398 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 27 Jun 2018 19:50:59 +0300 Subject: Don't use SSH logger unless input debug is set --- spec/input/ssh_spec.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'spec/input') diff --git a/spec/input/ssh_spec.rb b/spec/input/ssh_spec.rb index f9704d4..9864373 100644 --- a/spec/input/ssh_spec.rb +++ b/spec/input/ssh_spec.rb @@ -34,7 +34,6 @@ describe Oxidized::SSH do Net::SSH.expects(:start).with('93.184.216.34', 'alma', port: 22, paranoid: Oxidized.config.input.ssh.secure, keepalive: true, - logger: Oxidized.logger, password: 'armud', timeout: Oxidized.config.timeout, number_of_password_prompts: 0, @@ -66,7 +65,6 @@ describe Oxidized::SSH do Net::SSH.expects(:start).with('example.com', 'alma', port: 22, paranoid: Oxidized.config.input.ssh.secure, keepalive: true, - logger: Oxidized.logger, password: 'armud', timeout: Oxidized.config.timeout, number_of_password_prompts: 0, -- cgit v1.2.1