diff --git a/cluster/router/healthcheck/health_check_route.go b/cluster/router/healthcheck/health_check_route.go index 3a973193a58f42b91a81b1645fcc0f6efd90eea7..75ad189967ed75b9f6153640f49f29217543ede7 100644 --- a/cluster/router/healthcheck/health_check_route.go +++ b/cluster/router/healthcheck/health_check_route.go @@ -66,7 +66,7 @@ func (r *HealthCheckRouter) Route(invokers *roaring.Bitmap, cache router.Cache, addrPool := cache.FindAddrPool(r) // Add healthy invoker to the list healthyInvokers := utils.JoinIfNotEqual(addrPool[healthy], invokers) - // If all Invoke are considered unhealthy, downgrade to all invoker + // If all invokers are considered unhealthy, downgrade to all invoker if healthyInvokers.IsEmpty() { logger.Warnf(" Now all invokers are unhealthy, so downgraded to all! Service: [%s]", url.ServiceKey()) return invokers