summaryrefslogtreecommitdiff
path: root/lib/oxidized/input/telnet.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-02-10 12:26:59 +0200
committerSaku Ytti <saku@ytti.fi>2014-02-10 12:26:59 +0200
commit227ea783d3598c2bd974cdaf4aac8c255870e264 (patch)
treeac3af5a9473fb06bda8bbbb6a30c01c453f0dfe8 /lib/oxidized/input/telnet.rb
parent92fbaa712c99ae5b523be0ebbc46fca9cdddef4e (diff)
Handle exceptions with different log levels
Diffstat (limited to 'lib/oxidized/input/telnet.rb')
-rw-r--r--lib/oxidized/input/telnet.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/input/telnet.rb b/lib/oxidized/input/telnet.rb
index 0ae6877..31ed8d0 100644
--- a/lib/oxidized/input/telnet.rb
+++ b/lib/oxidized/input/telnet.rb
@@ -2,8 +2,8 @@ module Oxidized
require 'net/telnet'
require 'oxidized/input/cli'
class Telnet < Input
- RescueFail = []
- include CLI
+ RescueFail = {}
+ include CLI
attr_reader :telnet
def connect node