[skip ci] Fix lint for AvgAssignRegisterPolicy (#10965)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/10968/head
congqixia 2021-10-30 21:03:52 +08:00 committed by GitHub
parent 25f905da86
commit 2b07876827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 {