2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00

fix-batch-delete

This commit is contained in:
Aravindh-Raju 2024-09-30 12:36:22 +05:30
parent 40e817c142
commit 93ceee7e15
No known key found for this signature in database
GPG Key ID: 6B4D566AC36626F6

View File

@ -251,7 +251,7 @@ object BatchTransformations {
case (false, true) =>
if (existingRecords == deleteChangeSet) {
LogicalChangeType.FullDelete
} else if (deleteChangeSet.exists(existingRecords.contains)) {
} else if (existingRecords.nonEmpty) {
LogicalChangeType.Update
} else {
LogicalChangeType.OutOfSync