summaryrefslogtreecommitdiff
path: root/lib/oxidized/input
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2013-04-21 18:06:02 +0300
committerSaku Ytti <saku@ytti.fi>2013-04-21 18:06:02 +0300
commit30f2826bbb49fa6d18ba5a8b98c69aeeb984eb30 (patch)
tree3d7cb90e9b91761727a71f3556bb98936de74b3e /lib/oxidized/input
parent4a01f154c1873b898476ff8765ced02c9a916746 (diff)
Dont reimplement 'cmd', call #cmd from #get
Diffstat (limited to 'lib/oxidized/input')
-rw-r--r--lib/oxidized/input/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/input/cli.rb b/lib/oxidized/input/cli.rb
index 30a66f4..1d58e85 100644
--- a/lib/oxidized/input/cli.rb
+++ b/lib/oxidized/input/cli.rb
@@ -9,7 +9,7 @@ module Oxidized
def get
@post_login.each { |command| cmd command }
- d = @node.model.cmds
+ d = @node.model.get
disconnect
d
end