[#73] pool/tree: Fix client healthy status #92

Merged
alexvanin merged 1 commit from dkirillov/frostfs-sdk-go:feature/73-add_pool_for_tree_endpoints into master 2023-06-08 14:49:06 +00:00

View file

@ -69,6 +69,8 @@ func (c *treeClient) redialIfNecessary(ctx context.Context) (healthHasChanged bo
return wasHealthy, fmt.Errorf("healthcheck tree service: %w", err) return wasHealthy, fmt.Errorf("healthcheck tree service: %w", err)
} }
c.healthy = true
return !wasHealthy, nil return !wasHealthy, nil
} }