fix: not add index name in alter index properties (#38979)

#38967

Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
pull/38821/head
smellthemoon 2025-01-08 15:02:55 +08:00 committed by GitHub
parent f0dae81494
commit a89ac861da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -2232,6 +2232,7 @@ func (h *HandlersV2) alterIndexProperties(ctx context.Context, c *gin.Context, a
req := &milvuspb.AlterIndexRequest{
DbName: dbName,
CollectionName: httpReq.CollectionName,
IndexName: httpReq.IndexName,
}
extraParams := make([]*commonpb.KeyValuePair, 0, len(httpReq.Properties))
for key, value := range httpReq.Properties {