mirror of https://github.com/milvus-io/milvus.git
[skip ci] Fix lint for AvgAssignRegisterPolicy (#10965)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/10968/head
parent
25f905da86
commit
2b07876827
|
@ -50,6 +50,7 @@ func BufferChannelAssignPolicy(store ROChannelStore, nodeID int64) ChannelOpSet
|
|||
return opSet
|
||||
}
|
||||
|
||||
// AvgAssignRegisterPolicy assign channels with average to new registered node
|
||||
func AvgAssignRegisterPolicy(store ROChannelStore, nodeID int64) ChannelOpSet {
|
||||
opSet := BufferChannelAssignPolicy(store, nodeID)
|
||||
if len(opSet) != 0 {
|
||||
|
|
Loading…
Reference in New Issue