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
@@ -1,6 +1,7 @@
== 0.7.12 /
* Buf Fixes
== 0.7.12 /
* Bug Fixes
* Fix capistrano deployability [github.com/eric]
* Fix event handling [brianw]

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

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

Expand Down

0 comments on commit ccd040c

Please sign in to comment.