[#73] pool/tree: Fix client healthy status #92
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)
|
return wasHealthy, fmt.Errorf("healthcheck tree service: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
c.healthy = true
|
||||||
|
|
||||||
return !wasHealthy, nil
|
return !wasHealthy, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue