Fix typo in comment (#5061)

I think it is a typo in comment of Alert.ResolvedAt .

Signed-off-by: MIBc <lvjiawei@cmss.chinamobile.com>
pull/5066/head
Lv Jiawei 6 years ago committed by Brian Brazil
parent 7632e976c0
commit b50ea4834f

@ -93,7 +93,7 @@ func (a *Alert) Resolved() bool {
return a.ResolvedAt(time.Now()) return a.ResolvedAt(time.Now())
} }
// ResolvedAt returns true off the activity interval ended before // ResolvedAt returns true iff the activity interval ended before
// the given timestamp. // the given timestamp.
func (a *Alert) ResolvedAt(ts time.Time) bool { func (a *Alert) ResolvedAt(ts time.Time) bool {
if a.EndsAt.IsZero() { if a.EndsAt.IsZero() {

Loading…
Cancel
Save