Skip to content

Commit

Permalink
Fixes #21716 - Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Dec 12, 2017
1 parent fa9f7d6 commit f47fc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dynflow/action/with_bulk_sub_plans.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def can_spawn_next_batch?
end

def remaining_count
total_count - output[:planned_count] - output[:success_count] - output[:pending_count] - output[:failed_count] - output.fetch(:cancelled_count, 0)
total_count - output.fetch(:cancelled_count, 0) - output[:planned_count]
end
end
end

0 comments on commit f47fc3d

Please sign in to comment.