修bug
This commit is contained in:
@@ -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 {
|
if err != nil {
|
||||||
return fmt.Errorf("序列化告警通知任务参数失败: %w", err)
|
return fmt.Errorf("序列化告警通知任务参数失败: %w", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user