summaryrefslogtreecommitdiff
path: root/lib/oxidized/input/ssh.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-10-31 17:56:37 +0200
committerSaku Ytti <saku@ytti.fi>2016-10-31 17:56:37 +0200
commita87fc34a84a893b86d5ccb401d3bd4b9e544bfc2 (patch)
tree43f636d96b6de9d162c47958fb03cd13af7f3069 /lib/oxidized/input/ssh.rb
parent98ee2d2fadd56b9efadfc4f9ff667f71f6b22f6c (diff)
it shouldn't be a private method
Diffstat (limited to 'lib/oxidized/input/ssh.rb')
-rw-r--r--lib/oxidized/input/ssh.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb
index 30b481d..9a5c508 100644
--- a/lib/oxidized/input/ssh.rb
+++ b/lib/oxidized/input/ssh.rb
@@ -73,12 +73,12 @@ module Oxidized
@output
end
- private
-
def pty_options hash
@pty_options = @pty_options.merge hash
end
+ private
+
def disconnect
disconnect_cli
# if disconnect does not disconnect us, give up after timeout