fix: 网元重启事件触发跟踪任务重发任务id对不上

This commit is contained in:
TsMask
2025-05-16 14:13:37 +08:00
parent 93890c4931
commit b34df2630a
3 changed files with 9 additions and 7 deletions

View File

@@ -485,7 +485,7 @@ func alarmEventNew(neInfo neModel.NeInfo, v Alarm) (neDataModel.AlarmEvent, erro
}
// 网元重启后,有跟踪任务的需要重新补发启动任务
if v.AlarmCode == constants.ALARM_EVENT_REBOOT {
traceService.NewTraceTask.RunUnstopped()
traceService.NewTraceTask.RunUnstopped(neInfo.NeType, neInfo.NeId)
}
return alarmEvent, nil
}