chore: omit unnecessary reassignment (#6622)

Signed-off-by: ledigang <shuangcui@msn.com>
This commit is contained in:
ledigang
2025-11-24 20:01:30 +08:00
committed by GitHub
parent f63cad9651
commit 29977358d7
3 changed files with 0 additions and 3 deletions

View File

@@ -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"))