Remove unused code (#26100)

Signed-off-by: yah01 <yang.cen@zilliz.com>
This commit is contained in:
yah01 2023-08-03 09:45:05 +08:00 committed by GitHub
parent 5634ba777d
commit d9074bcb06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,6 @@ func validate(ctx context.Context, manager *Manager, collectionID int64, partiti
if len(partitionIDs) == 0 {
searchPartIDs = collection.GetPartitions()
} else {
collection.ExistPartition()
if collection.ExistPartition(partitionIDs...) {
searchPartIDs = partitionIDs
}