From 600768882cded993523a9756c1cc51a46bcc3ba4 Mon Sep 17 00:00:00 2001 From: sunby Date: Tue, 19 Oct 2021 14:44:35 +0800 Subject: [PATCH] [skip ci]Add comment for NewDeregisterPolicy (#10133) Signed-off-by: sunby --- internal/datacoord/channel_manager_factory.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/datacoord/channel_manager_factory.go b/internal/datacoord/channel_manager_factory.go index d2010478f..b8a9b93b4 100644 --- a/internal/datacoord/channel_manager_factory.go +++ b/internal/datacoord/channel_manager_factory.go @@ -82,6 +82,7 @@ func (f *ConsistentHashChannelPolicyFactory) NewRegisterPolicy() RegisterPolicy return ConsistentHashRegisterPolicy(f.hashring) } +// NewDeregisterPolicy create a new dereigster policy func (f *ConsistentHashChannelPolicyFactory) NewDeregisterPolicy() DeregisterPolicy { return ConsistentHashDeregisterPolicy(f.hashring) } -- GitLab