mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for NewRegisterPolicy (#10132)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user