by Robin at 20240429
This commit is contained in:
parent
f6c60cf574
commit
29f4a72c32
|
@ -103,7 +103,7 @@ func createScanTextRequest(ctrlBlock *TextAuditTaskBatchControlBlock) (requests
|
||||||
if i*10 < len(reqTasks) {
|
if i*10 < len(reqTasks) {
|
||||||
request := &textaudit.ScanTextRequest{
|
request := &textaudit.ScanTextRequest{
|
||||||
Labels: scanLabels,
|
Labels: scanLabels,
|
||||||
Tasks: reqTasks[i*10 : (i+1)*10],
|
Tasks: reqTasks[i*10:],
|
||||||
}
|
}
|
||||||
requests = append(requests, request)
|
requests = append(requests, request)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue