[skip e2e]Add comments to conf adapter file (#14760)

Signed-off-by: jingkl <jingjing.jia@zilliz.com>
pull/14758/merge
jingkl 2022-01-04 14:23:22 +08:00 committed by GitHub
parent 251d24c10d
commit 0e4df25e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ func newBinIVFConfAdapter() *BinIVFConfAdapter {
type NSGConfAdapter struct {
}
// CheckTrain checks if a nsg index can be built with specific parameters.
func (adapter *NSGConfAdapter) CheckTrain(params map[string]string) bool {
if !CheckStrByValues(params, Metric, METRICS) {
return false