mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-07 19:05:39 +00:00
Fix loading zone with Slave type
This commit is contained in:
parent
978c0b6c62
commit
33eff6313f
@ -61,7 +61,7 @@ def domain(domain_name):
|
|||||||
current_app.logger.debug("Fetched rrests: \n{}".format(pretty_json(rrsets)))
|
current_app.logger.debug("Fetched rrests: \n{}".format(pretty_json(rrsets)))
|
||||||
|
|
||||||
# API server might be down, misconfigured
|
# API server might be down, misconfigured
|
||||||
if not rrsets:
|
if not rrsets and domain.type != 'Slave':
|
||||||
abort(500)
|
abort(500)
|
||||||
|
|
||||||
quick_edit = Setting().get('record_quick_edit')
|
quick_edit = Setting().get('record_quick_edit')
|
||||||
|
Loading…
Reference in New Issue
Block a user