This commit is contained in:
2025-10-29 19:07:00 +08:00
parent 8d48576305
commit ff45c59946
2 changed files with 5 additions and 1 deletions

View File

@@ -98,10 +98,14 @@ func (s *monitorService) ListPlanExecutionLogs(opts repository.PlanExecutionLogL
}
planIds := []uint{}
for _, datum := range planLogs {
has := false
for _, id := range planIds {
if id == datum.PlanID {
has = true
break
}
}
if !has {
planIds = append(planIds, datum.PlanID)
}
}