fix: not pass the indexname when drop properties (#39678)

#38967

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
This commit is contained in:
smellthemoon 2025-02-14 15:06:15 +08:00 committed by GitHub
parent 93212a9a63
commit 4cb76fde14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2347,6 +2347,7 @@ func (h *HandlersV2) dropIndexProperties(ctx context.Context, c *gin.Context, an
DbName: dbName,
CollectionName: httpReq.CollectionName,
DeleteKeys: httpReq.PropertyKeys,
IndexName: httpReq.IndexName,
}
c.Set(ContextRequest, req)
resp, err := wrapperProxyWithLimit(ctx, c, req, h.checkAuth, false, "/milvus.proto.milvus.MilvusService/AlterIndex", true, h.proxy, func(reqCtx context.Context, req any) (interface{}, error) {