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:
parent
7632e976c0
commit
b50ea4834f
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue