issue_11 #13

Merged
huang merged 2 commits from issue_11 into main 2025-09-23 21:54:40 +08:00
Showing only changes of commit 15b4a9520a - Show all commits

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)
}
}
}