Permalink
Browse files

added previous state to run (why not?)

  • Loading branch information...
1 parent 8d818b5 commit 788f5902f9ad2d3ccda5e1617c1d08e386c84103 @markryall markryall committed Dec 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chicanery.rb
View
@@ -52,7 +52,7 @@ def run
current_state[:servers][server.name] = current_jobs
end
current_state.extend Chicanery::Summary
- run_handlers.each {|handler| handler.call current_state }
+ run_handlers.each {|handler| handler.call current_state, previous_state }
persist current_state
end

0 comments on commit 788f590

Please sign in to comment.