Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: George Robinson <george.robinson@grafana.com>
  • Loading branch information
grobinson-grafana committed Apr 12, 2024
1 parent fb6970a commit 506a12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/alert.go
Expand Up @@ -78,7 +78,7 @@ func (a *Alert) Status() AlertStatus {
return a.StatusAt(time.Now())
}

// StatusAt returns the status of the alert before the given timestamp.
// StatusAt returns the status of the alert at the given timestamp.
func (a *Alert) StatusAt(ts time.Time) AlertStatus {
if a.ResolvedAt(ts) {
return AlertResolved
Expand Down

0 comments on commit 506a12c

Please sign in to comment.