Skip to content

Commit

Permalink
private methods in ruby cannot have an explicit receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Medina committed Mar 2, 2017
1 parent cb8df34 commit c0d7176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rworkflow/flow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def terminate
post_process

if self.public?
the_counters = self.counters!
the_counters = counters!
the_counters[:processing] = 0 # Some worker might have increased the processing flag at that time even if there is no more jobs to be done
@storage.setnx(:counters, self.class.serializer.dump(the_counters))
states_cleanup
Expand Down

0 comments on commit c0d7176

Please sign in to comment.