lib/rundock/node.rb in rundock-0.2.10 vs lib/rundock/node.rb in rundock-0.2.11
- old
+ new
@@ -17,21 +17,21 @@
@operations << ope
end
def complete(scenario)
@operations.each do |ope|
- ope.attributes[:nodeinfo] = scenario.node_info
+ ope.attributes[:nodeinfo].merge!(scenario.node_info)
end
end
def run
- Logger.debug("run name: #{@name}")
+ Logger.debug("run node: #{@name}")
if @operations.blank?
Logger.warn("no operation running: #{@name}")
return
end
@operations.each do |ope|
- Logger.debug("operation type: #{ope.class}")
+ Logger.debug("run operation: #{ope.class}")
ope.run(@backend, ope.attributes)
end
end
end
end