Skip to content

Commit c5d72b9

Browse files
yhabteabjulianbrost
authored andcommitted
Fix incorrect duration used in the dummy event message
1 parent 2f970e7 commit c5d72b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/incident/incident.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ func (i *Incident) evaluateEscalations(eventTime time.Time) ([]*rule.Escalation,
462462
i.RetriggerEscalations(&event.Event{
463463
Type: event.TypeInternal,
464464
Time: nextEvalAt,
465-
Message: fmt.Sprintf("Incident reached age %v", retryAfter),
465+
Message: fmt.Sprintf("Incident reached age %v", nextEvalAt.Sub(i.StartedAt)),
466466
})
467467
})
468468
}

0 commit comments

Comments
 (0)