mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for NewDeregisterPolicy (#10133)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/10168/head
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…
Reference in New Issue