mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
fix issue in OwnershipProcessor when last change is removed
This commit is contained in:
@@ -90,7 +90,9 @@ class OwnershipProcessor(BaseProcessor):
|
||||
# change is we should do
|
||||
filtered_changes.append(change)
|
||||
|
||||
if plan.changes != filtered_changes:
|
||||
if not filtered_changes:
|
||||
return None
|
||||
elif plan.changes != filtered_changes:
|
||||
return Plan(
|
||||
plan.existing,
|
||||
plan.desired,
|
||||
|
||||
Reference in New Issue
Block a user