From 7a9a6f1874b5d793ad005753bbabb80c88c0c866 Mon Sep 17 00:00:00 2001 From: Ian Luo <ian.luo@gmail.com> Date: Tue, 18 Aug 2020 14:40:57 +0800 Subject: [PATCH] fix typo in comment --- cluster/router/healthcheck/health_check_route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/router/healthcheck/health_check_route.go b/cluster/router/healthcheck/health_check_route.go index 3a973193a..75ad18996 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 -- GitLab