[#1342] network/cache: Add node address to error multiClient
All checks were successful
Vulncheck / Vulncheck (pull_request) Successful in 2m51s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m17s
Tests and linters / gopls check (pull_request) Successful in 3m44s
Tests and linters / Run gofumpt (pull_request) Successful in 4m52s
DCO action / DCO (pull_request) Successful in 5m4s
Build / Build Components (pull_request) Successful in 6m15s
Tests and linters / Tests (pull_request) Successful in 6m30s
Tests and linters / Tests with -race (pull_request) Successful in 6m30s
Tests and linters / Staticcheck (pull_request) Successful in 6m31s
Tests and linters / Lint (pull_request) Successful in 7m14s

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
Alexander Chuprov 2024-12-13 19:13:11 +03:00
parent d165ac042c
commit 7320396c5f
Signed by: achuprov
GPG key ID: 2D916FFD803B0EDD

View file

@ -155,7 +155,7 @@ func (x *multiClient) iterateClients(ctx context.Context, f func(clientcore.Clie
group.IterateAddresses(func(addr network.Address) bool {
select {
case <-ctx.Done():
firstErr = context.Canceled
firstErr = fmt.Errorf("client connection error at %v: %w", addr, context.Canceled)
return true
default:
}