[#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
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:
parent
d165ac042c
commit
7320396c5f
1 changed files with 1 additions and 1 deletions
2
pkg/network/cache/multi.go
vendored
2
pkg/network/cache/multi.go
vendored
|
@ -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:
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue