forked from JointCloud/pcm-coordinator
fix deploylist empty error
This commit is contained in:
parent
4866e1679f
commit
9fc7692cf7
|
@ -38,6 +38,10 @@ func (l *DeployInstanceListLogic) DeployInstanceList(req *types.DeployInstanceLi
|
|||
return nil, tx.Error
|
||||
}
|
||||
|
||||
if len(list) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
go updater.UpdateDeployInstanceStatusBatch(l.svcCtx, list)
|
||||
|
||||
ins := list[0]
|
||||
|
|
Loading…
Reference in New Issue