mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-02-02 16:53:08 +08:00
chore: omit unnecessary reassignment (#6622)
Signed-off-by: ledigang <shuangcui@msn.com>
This commit is contained in:
@@ -177,7 +177,6 @@ func TestCacheCheckConcurrent(t *testing.T) {
|
||||
wg := sync.WaitGroup{}
|
||||
for i := 1; i <= 100; i++ {
|
||||
wg.Add(1)
|
||||
i := i
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
cache.MarkFailed(protoType, ctx, errors.New("no address found for host"))
|
||||
|
||||
Reference in New Issue
Block a user