Skip to content

Commit 3613e53

Browse files
committed
fix typo
1 parent 087e3b9 commit 3613e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/alertmanager/scheduled.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func handleCloudwatchScheduledEvent(ctx context.Context, now time.Time) error {
2424
return err
2525
}
2626

27-
if err := alertForDeadExpiredMansSwitches(ctx, app, now); err != nil {
27+
if err := alertForExpiredDeadMansSwitches(ctx, app, now); err != nil {
2828
return err
2929
}
3030

@@ -93,7 +93,7 @@ func checkAndAlertForUnnoticedAlerts(
9393
})
9494
}
9595

96-
func alertForDeadExpiredMansSwitches(ctx context.Context, app *amstate.App, now time.Time) error {
96+
func alertForExpiredDeadMansSwitches(ctx context.Context, app *amstate.App, now time.Time) error {
9797
candidateAlerts := []amstate.Alert{}
9898

9999
for _, dms := range amstate.GetExpiredDeadMansSwitches(app.State.DeadMansSwitches(), now) {

0 commit comments

Comments
 (0)