[skip e2e]Add comment for getDimension in indexcoord (#13761)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/13902/head
cai.zhang 2021-12-20 17:47:23 +08:00 committed by GitHub
parent 33f326d576
commit 2da7f528e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import (
"github.com/milvus-io/milvus/internal/proto/schemapb"
)
// getDimension gets the dimension of data from building index request.
func getDimension(req *indexpb.BuildIndexRequest) (int64, error) {
for _, kvPair := range req.GetTypeParams() {
key, value := kvPair.GetKey(), kvPair.GetValue()