mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip ci]Add comment for NewDeregisterPolicy (#10133)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
09435300b6
commit
600768882c
@ -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)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user