Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

fix alert-manager config generation issue #5534

Merged
merged 1 commit into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/alert-manager/config/alert-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ port: 9093
actions-available:
- webportal-notification
- cordon-nodes
- fix-nvidia-gpu-low-perf
alert-handler:
log-level: 'info'
port: 9095
Expand Down
1 change: 0 additions & 1 deletion src/alert-manager/config/alert_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def run(self):
token_configured = False

result["alert-handler"]["configured"] = True
result["actions-available"] = ["fix-nvidia-gpu-low-perf"]
if email_configured and token_configured:
result["actions-available"].extend(["email-admin", "email-user", "stop-jobs", "tag-jobs"])
elif email_configured:
Expand Down