Compare commits

...

1 Commits

Author SHA1 Message Date
riccardom
0bf27e40e6 Wire client -> mgmt is healthy check to is healthy gRPC API 2026-06-12 17:11:39 +02:00

View File

@@ -524,7 +524,7 @@ func (c *GrpcClient) IsHealthy() bool {
ctx, cancel := context.WithTimeout(c.ctx, healthCheckTimeout)
defer cancel()
_, err := c.realClient.GetServerKey(ctx, &proto.Empty{})
_, err := c.realClient.IsHealthy(ctx, &proto.Empty{})
if err != nil {
c.notifyDisconnected(err)
log.Warnf("health check returned: %s", err)