-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add StatusAt method for Alert struct
This commit adds the StatusAt method for the Alert struct. It calls the ResolvedAt method while Status calls the Resolved method. This method will be used in Alertmanager to fix issue prometheus/alertmanager#3351. Signed-off-by: George Robinson <george.robinson@grafana.com>
- Loading branch information
1 parent
0234594
commit fb6970a
Showing
2 changed files
with
115 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters