lib/choria/orchestrator/task.rb in choria-colt-0.6.0 vs lib/choria/orchestrator/task.rb in choria-colt-0.7.0

- old
+ new

@@ -101,9 +101,10 @@ process_rpc_response(rpc_response) task_ids << rpc_response.task_id end raise NoNodesLeftError, "No nodes left to continue after 'run_no_wait' action" if @pending_targets.empty? + task_ids.compact! task_ids.uniq! raise NotImplementedError, "Multiple task IDs: #{task_ids}" unless task_ids.count == 1 @id = task_ids.first end