This commit is contained in:
2025-09-23 21:49:53 +08:00
parent 8f3daef5cb
commit 15b4a9520a

View File

@@ -441,8 +441,8 @@ func (s *Scheduler) handlePlanCompletion(planLogID uint) {
if newStatus == models.PlanStatusEnabled {
if err := s.analysisPlanTaskManager.CreateOrUpdateTrigger(topLevelPlanID); err != nil {
s.logger.Errorf("为计划 %d 创建/更新触发器失败: %v", topLevelPlanID, err)
}
} else {
s.logger.Infof("计划 %d 状态为 '%d',无需创建下一次触发器。", topLevelPlanID, newStatus)
}
}
}