Commit 0b6a3cff authored by Jonathan Michalon's avatar Jonathan Michalon

(oops) Fix check status assignment (must be before sending notification)

parent f5c96aab
......@@ -61,8 +61,8 @@ class Check(object):
mails.send_email_for_check(self)
else:
if not self.ok:
self.ok = True
mails.send_email_for_check(self)
self.ok = True
self.retry_count = 0
self.teardown()
return self.ok
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment