Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GIBSON, NICHOLAS R committed Apr 19, 2021
1 parent 955f757 commit 606f89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elastalert/elastalert.py
Original file line number Diff line number Diff line change
Expand Up @@ -2079,7 +2079,7 @@ def main(args=None):
if not args:
args = sys.argv[1:]
client = ElastAlerter(args)

if client.prometheus_port and not client.debug:
p = PrometheusWrapper(client)
p.start()
Expand Down
2 changes: 1 addition & 1 deletion elastalert/prometheus_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ def metrics_writeback(self, doc_type, body):
elif doc_type == 'silence':
self.prom_alerts_silenced.labels(body['rule_name']).inc()
finally:
return res
return res

0 comments on commit 606f89e

Please sign in to comment.