From 506a12c25e1f71c3102e1287fe072a8aba1149fb Mon Sep 17 00:00:00 2001 From: George Robinson Date: Fri, 12 Apr 2024 14:14:01 +0200 Subject: [PATCH] Fix comment Signed-off-by: George Robinson --- model/alert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/alert.go b/model/alert.go index 21dcf867..80d1fe94 100644 --- a/model/alert.go +++ b/model/alert.go @@ -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