mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for NewRegisterPolicy (#10132)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/10168/head
parent
ed4e516ce7
commit
9847063a40
|
@ -76,6 +76,7 @@ func NewConsistentHashChannelPolicyFactory(hashring *consistent.Consistent) *Con
|
|||
}
|
||||
}
|
||||
|
||||
// NewRegisterPolicy create a new register policy
|
||||
func (f *ConsistentHashChannelPolicyFactory) NewRegisterPolicy() RegisterPolicy {
|
||||
return ConsistentHashRegisterPolicy(f.hashring)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue