1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Add the number of changes and zone name to "making changes"

This commit is contained in:
Ross McFarland
2021-02-05 11:55:37 -08:00
parent 5dccb25bc1
commit 4081c7b31b

View File

@@ -91,7 +91,10 @@ class BaseProvider(BaseSource):
self.log.info('apply: disabled')
return 0
self.log.info('apply: making changes')
zone_name = plan.desired.name
num_changes = len(plan.changes)
self.log.info('apply: making %d changes to %s', num_changes,
zone_name)
self._apply(plan)
return len(plan.changes)