summaryrefslogtreecommitdiff
path: root/lib/oxidized/nodes.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2013-10-24 02:18:00 -0700
committerytti <saku@ytti.fi>2013-10-24 02:18:00 -0700
commit1b4cf651d5b7e9e032a7bc0636c569d0419f2ded (patch)
treec94da76aee2709a2808a113115fa34b188a5a34c /lib/oxidized/nodes.rb
parentd7d490077ce16e76367773f5a5fe8bca4f84f366 (diff)
parentfeba4c2b9e0faeb40cad32f16d7b024a2d4327ae (diff)
Merge pull request #7 from nopedial/master
finalize fetch API call
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r--lib/oxidized/nodes.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb
index dcebe08..d878d89 100644
--- a/lib/oxidized/nodes.rb
+++ b/lib/oxidized/nodes.rb
@@ -27,10 +27,10 @@ module Oxidized
i = find_index node
self[i].serialize if i
end
- def fetch node
- i = find_index node
+ def fetch node, group
raise Oxidized::NotSupported unless Oxidized.mgr.output.respond_to? :fetch
- self[i].output.new.fetch node
+ i = find_index node
+ self[i].output.new.fetch node, group
end
def del node
i = find_index node