Found a possible issue in [DavadDi/grpclb](https://www.github.com/DavadDi/grpclb) at [vendor/github.com/coreos/etcd/auth/store_test.go](https://github.com/DavadDi/grpclb/blob/530387db8022c2ed50c182066b449cc830319fa7/vendor/github.com/coreos/etcd/auth/store_test.go#L663-L675) The below snippet of Go code triggered static analysis which searches for goroutines and/or defer statements which capture loop variables. [Click here to see the code in its original context.](https://github.com/DavadDi/grpclb/blob/530387db8022c2ed50c182066b449cc830319fa7/vendor/github.com/coreos/etcd/auth/store_test.go#L663-L675) <details> <summary>Click here to show the 13 line(s) of Go which triggered the analyzer.</summary> ```go for u := range users { go func(user string) { defer wg.Done() token := fmt.Sprintf("%s(%d)", user, i) ctx := context.WithValue(context.WithValue(context.TODO(), AuthenticateParamIndex{}, uint64(1)), AuthenticateParamSimpleTokenPrefix{}, token) if _, err := as.Authenticate(ctx, user, "123"); err != nil { t.Fatal(err) } if _, err := as.AuthInfoFromCtx(ctx); err != nil { t.Fatal(err) } }(u) } ``` </details> commit ID: 530387db8022c2ed50c182066b449cc830319fa7
Found a possible issue in DavadDi/grpclb at vendor/github.com/coreos/etcd/auth/store_test.go
The below snippet of Go code triggered static analysis which searches for goroutines and/or defer statements
which capture loop variables.
Click here to see the code in its original context.
Click here to show the 13 line(s) of Go which triggered the analyzer.
commit ID: 530387db8022c2ed50c182066b449cc830319fa7