lib/rundock/node.rb in rundock-0.4.0 vs lib/rundock/node.rb in rundock-0.4.1

- old
+ new

@@ -26,13 +26,10 @@ end def run Logger.formatter.onrec = true Logger.debug("run node: #{@name}") - if @operations.blank? - Logger.warn("no operation running: #{@name}") - return - end + Logger.warn("no operation running: #{@name}") if @operations.blank? nodeinfo = nil @operations.each do |ope| Logger.debug("run operation: #{ope.class}")