fix loop variable
This commit is contained in:
parent
e9dd709ec2
commit
df80f935bd
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,8 @@ func updateWorkerTaskStatus(ctx context.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tsr := range taskStatusRequests {
|
for _, taskStatusRequest := range taskStatusRequests {
|
||||||
|
tsr := taskStatusRequest
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue