forked from TrueCloudLab/frostfs-sdk-go
[#258] pool/tree: Add node address to error
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
6dd7be11d1
commit
338d1ef254
1 changed files with 5 additions and 0 deletions
|
@ -836,6 +836,11 @@ LOOP:
|
||||||
if startI != indexI || startJ != indexJ {
|
if startI != indexI || startJ != indexJ {
|
||||||
p.setStartIndices(indexI, indexJ)
|
p.setStartIndices(indexI, indexJ)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
err = fmt.Errorf("address %s: %w", p.innerPools[indexI].clients[indexJ].endpoint(), err)
|
||||||
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue