Implement account update method

Allow syncing of all known accounts from PowerDNS, in the same
way that Domain().update() does for domains.
This commit is contained in:
Nick Douma
2020-08-06 15:16:18 +02:00
parent 4e63f8380b
commit 0ef57b2f9f
4 changed files with 103 additions and 6 deletions

View File

@@ -29,6 +29,6 @@ with app.app_context():
sys.exit(1)
### Start the update process
app.logger.info('Update zones from nameserver API')
app.logger.info('Update domains from nameserver API')
d = Domain().update()
Domain().update()