mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
powerdns: sort in place
This commit is contained in:
@@ -386,7 +386,7 @@ class PowerDnsBaseProvider(BaseProvider):
|
||||
# Ensure that any DELETE modifications always occur before any REPLACE
|
||||
# modifications. This ensures that an A record can be replaced by a
|
||||
# CNAME record and vice-versa.
|
||||
mods = sorted(mods, key=itemgetter('changetype'))
|
||||
mods.sort(key=itemgetter('changetype'))
|
||||
|
||||
self.log.debug('_apply: sending change request')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user