Skip to content

Commit

Permalink
Fix the TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka committed Jul 27, 2017
1 parent ca6f90f commit e95ad4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/dynflow/action/with_polling_sub_plans.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ def ping(suspended_action)

def recalculate_counts
total = sub_plans.count
@sub_plans = nil # TODO:
failed = sub_plans('state' => 'stopped', 'result' => 'error').count
@sub_plans = nil # TODO:
success = sub_plans('state' => 'stopped', 'result' => 'success').count
output.update(:total_count => total,
:pending_count => 0,
Expand Down

0 comments on commit e95ad4c

Please sign in to comment.