sensu 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sensu/server.rb +1 -1
- data/sensu.gemspec +1 -1
- metadata +1 -1
data/lib/sensu/server.rb
CHANGED
@@ -110,7 +110,7 @@ module Sensu
|
|
110
110
|
@redis.hdel('events:' + client['name'], check['name'])
|
111
111
|
event['action'] = 'resolve'
|
112
112
|
handle_event(event)
|
113
|
-
|
113
|
+
elsif check['status'] > 0
|
114
114
|
occurrences = 1
|
115
115
|
if previous_event && check['status'] == previous_event['status']
|
116
116
|
occurrences = previous_event['occurrences'] += 1
|
data/sensu.gemspec
CHANGED