This commit is contained in:
2025-11-16 23:11:47 +08:00
parent b2d1b10962
commit a4fbfbd145

View File

@@ -201,7 +201,7 @@ func (app *Application) initializeAlarmNotificationPlan(ctx context.Context, exi
},
}
err := predefinedPlan.Tasks[0].SaveParameters(app.Config.AlarmNotification.NotificationIntervals)
err := predefinedPlan.Tasks[1].SaveParameters(app.Config.AlarmNotification.NotificationIntervals)
if err != nil {
return fmt.Errorf("序列化告警通知任务参数失败: %w", err)
}