Resolved returns true iff the activity interval ended in the past.
()
| 61 | |
| 62 | // Resolved returns true iff the activity interval ended in the past. |
| 63 | func (a *Alert) Resolved() bool { |
| 64 | return a.ResolvedAt(time.Now()) |
| 65 | } |
| 66 | |
| 67 | // ResolvedAt returns true off the activity interval ended before |
| 68 | // the given timestamp. |
no test coverage detected