mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-30 05:47:56 +00:00
fix-batch-delete
This commit is contained in:
parent
40e817c142
commit
93ceee7e15
@ -251,7 +251,7 @@ object BatchTransformations {
|
|||||||
case (false, true) =>
|
case (false, true) =>
|
||||||
if (existingRecords == deleteChangeSet) {
|
if (existingRecords == deleteChangeSet) {
|
||||||
LogicalChangeType.FullDelete
|
LogicalChangeType.FullDelete
|
||||||
} else if (deleteChangeSet.exists(existingRecords.contains)) {
|
} else if (existingRecords.nonEmpty) {
|
||||||
LogicalChangeType.Update
|
LogicalChangeType.Update
|
||||||
} else {
|
} else {
|
||||||
LogicalChangeType.OutOfSync
|
LogicalChangeType.OutOfSync
|
||||||
|
Loading…
x
Reference in New Issue
Block a user