Skip to content

Commit

Permalink
Update monitoring_script.py (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Nov 10, 2023
1 parent 4c36f27 commit c5a6530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def send_opsgenie_heartbeat(config):
if execution_count < 2:
if is_cluster_healthy(config):
logger.info("Checks: STARTED")
send_opsgenie_heartbeat(config.OPSGENIE_HEARTBEAT_NAME)
send_opsgenie_heartbeat(config)
logger.info("Checks: PASSED")
else:
logger.error(f"One or more health checks failed. Heartbeat for {config.OPSGENIE_HEARTBEAT_NAME} was not sent")
Expand Down

0 comments on commit c5a6530

Please sign in to comment.