lib/rundock/node.rb in rundock-0.4.2 vs lib/rundock/node.rb in rundock-0.4.3
- old
+ new
@@ -17,15 +17,9 @@
def add_operation(ope)
@operations = [] unless @operations
@operations << ope
end
- def complete(scenario)
- @operations.each do |ope|
- ope.attributes[:nodeinfo].merge!(scenario.node_info)
- end
- end
-
def run
Logger.formatter.onrec = true
Logger.debug("run node: #{@name}")
Logger.warn("no operation running: #{@name}") if @operations.blank?