Skip to content

Commit

Permalink
Fix typo in comment (prometheus#5061)
Browse files Browse the repository at this point in the history
I think it is a typo in comment of Alert.ResolvedAt .

Signed-off-by: MIBc <lvjiawei@cmss.chinamobile.com>
  • Loading branch information
MIBc authored and brian-brazil committed Jan 4, 2019
1 parent 7632e97 commit b50ea48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifier/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b50ea48

Please sign in to comment.