修bug
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user