forked from TrueCloudLab/frostfs-sdk-go
[#73] pool/tree: Fix client healthy status
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
af40dc68f0
commit
9d40228cec
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ func (c *treeClient) redialIfNecessary(ctx context.Context) (healthHasChanged bo
|
|||
return wasHealthy, fmt.Errorf("healthcheck tree service: %w", err)
|
||||
}
|
||||
|
||||
c.healthy = true
|
||||
|
||||
return !wasHealthy, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue