updated deployinstancelistlogic
Former-commit-id: 4b21b863c4fa8dd3a549d9bbdd7373022166f9da
This commit is contained in:
parent
c0092c1a14
commit
93b446714e
|
@ -59,10 +59,7 @@ func (l *DeployInstanceListLogic) DeployInstanceList(req *types.DeployInstanceLi
|
|||
}
|
||||
list := common.ConcatMultipleSlices(slices)
|
||||
|
||||
if len(list) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
if len(list) != 0 {
|
||||
go updater.UpdateDeployInstanceStatusBatch(l.svcCtx, list)
|
||||
|
||||
ins := list[0]
|
||||
|
@ -76,6 +73,7 @@ func (l *DeployInstanceListLogic) DeployInstanceList(req *types.DeployInstanceLi
|
|||
|
||||
go updater.UpdateDeployInstanceStatus(l.svcCtx, ins, true)
|
||||
go updater.UpdateDeployTaskStatus(l.svcCtx)
|
||||
}
|
||||
|
||||
resp.List = &deployTasks
|
||||
resp.PageSize = req.PageSize
|
||||
|
|
Loading…
Reference in New Issue