Skip to content

Commit

Permalink
fix event handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Dec 10, 2008
1 parent 23a363f commit ccd040c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions History.txt
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,7 @@
== 0.7.12 / == 0.7.12 /
* Buf Fixes * Bug Fixes
* Fix capistrano deployability [github.com/eric] * Fix capistrano deployability [github.com/eric]
* Fix event handling [brianw]


== 0.7.11 / 2008-11-14 == 0.7.11 / 2008-11-14
* Bug Fixes * Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion lib/god/task.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def handle_event(condition)
messages = self.log_line(self, metric, condition, true) messages = self.log_line(self, metric, condition, true)


# notify # notify
if result && condition.notify if condition.notify
self.notify(condition, messages.last) self.notify(condition, messages.last)
end end


Expand Down

0 comments on commit ccd040c

Please sign in to comment.