Fix creating collection not idempotent (#24721)

Signed-off-by: longjiquan <jiquan.long@zilliz.com>
pull/24729/head
Jiquan Long 2023-06-07 20:08:34 +08:00 committed by GitHub
parent 114c3540e7
commit 8156317c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func (f Field) Equal(other Field) bool {
f.IsPrimaryKey == other.IsPrimaryKey &&
f.Description == other.Description &&
f.DataType == other.DataType &&
checkParamsEqual(f.TypeParams, f.TypeParams) &&
checkParamsEqual(f.TypeParams, other.TypeParams) &&
checkParamsEqual(f.IndexParams, other.IndexParams) &&
f.AutoID == other.AutoID &&
f.IsPartitionKey == other.IsPartitionKey &&