We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb6970a commit 506a12cCopy full SHA for 506a12c
model/alert.go
@@ -78,7 +78,7 @@ func (a *Alert) Status() AlertStatus {
78
return a.StatusAt(time.Now())
79
}
80
81
-// StatusAt returns the status of the alert before the given timestamp.
+// StatusAt returns the status of the alert at the given timestamp.
82
func (a *Alert) StatusAt(ts time.Time) AlertStatus {
83
if a.ResolvedAt(ts) {
84
return AlertResolved
0 commit comments