[skip ci]Add comment for NewDeregisterPolicy (#10133)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/10168/head
sunby 2021-10-19 14:44:35 +08:00 committed by GitHub
parent 09435300b6
commit 600768882c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}