From ab7b642d11741549457a20d96d613f2e5dd86db4 Mon Sep 17 00:00:00 2001 From: aliiohs <renzhiyuan@wecash.net> Date: Sun, 17 May 2020 13:44:35 +0800 Subject: [PATCH] replace Uint32Slice --- cluster/loadbalance/consistent_hash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/loadbalance/consistent_hash.go b/cluster/loadbalance/consistent_hash.go index a3c4066be..492434431 100644 --- a/cluster/loadbalance/consistent_hash.go +++ b/cluster/loadbalance/consistent_hash.go @@ -128,7 +128,7 @@ func newConsistentHashSelector(invokers []protocol.Invoker, methodName string, return selector } -// Select Gets invoker based on load balancing strategy +// Select gets invoker based on load balancing strategy func (c *ConsistentHashSelector) Select(invocation protocol.Invocation) protocol.Invoker { key := c.toKey(invocation.Arguments()) digest := md5.Sum([]byte(key)) -- GitLab