Fix typo in comment (#5061)

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

Signed-off-by: MIBc <lvjiawei@cmss.chinamobile.com>
This commit is contained in:
Lv Jiawei 2019-01-04 18:57:17 +08:00 committed by Brian Brazil
parent 7632e976c0
commit b50ea4834f
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ func (a *Alert) Resolved() bool {
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.
func (a *Alert) ResolvedAt(ts time.Time) bool {
if a.EndsAt.IsZero() {