summaryrefslogtreecommitdiff
path: root/lib/oxidized/nodes.rb
diff options
context:
space:
mode:
authornopedial <shafez@ike-2.local>2013-10-15 00:13:03 +0200
committernopedial <shafez@ike-2.local>2013-10-15 00:13:03 +0200
commite9ec48a85006b481007db28d0b1fb7344f1d1224 (patch)
tree6af63a41d40e60622d00af83e37e14c983e88d9b /lib/oxidized/nodes.rb
parentfb4bc13364624bd8d78659de52bb5180c040cb0e (diff)
enhance fetch support
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