enhance: [2.4] Enable hook for importv2 (#39431)

/kind improvement

pr: https://github.com/milvus-io/milvus/pull/39429

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2.4
yihao.dai 2025-01-20 21:13:05 +08:00 committed by GitHub
parent cc8e34c0b8
commit d07ae21e8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2206,7 +2206,7 @@ func (h *HandlersV2) createImportJob(ctx context.Context, c *gin.Context, anyReq
return nil, err
}
}
resp, err := wrapperProxy(ctx, c, req, false, false, "/milvus.proto.milvus.MilvusService/ImportV2", func(reqCtx context.Context, req any) (interface{}, error) {
resp, err := wrapperProxy(ctx, c, req, false, false, "/milvus.proto.milvus.MilvusService/Import", func(reqCtx context.Context, req any) (interface{}, error) {
return h.proxy.ImportV2(reqCtx, req.(*internalpb.ImportRequest))
})
if err == nil {