mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add logging to domain_registrar_push
This commit is contained in:
parent
5a93e0640d
commit
4089c34685
1 changed files with 4 additions and 1 deletions
|
@ -464,7 +464,8 @@ def domain_registrar_set(domain, registrar, args):
|
||||||
_set_registrar_settings(dns_zone, domain_registrar)
|
_set_registrar_settings(dns_zone, domain_registrar)
|
||||||
|
|
||||||
|
|
||||||
def domain_registrar_push(domain):
|
@is_unit_operation()
|
||||||
|
def domain_registrar_push(operation_logger, domain):
|
||||||
"""
|
"""
|
||||||
Send DNS records to the previously-configured registrar of the domain.
|
Send DNS records to the previously-configured registrar of the domain.
|
||||||
"""
|
"""
|
||||||
|
@ -508,6 +509,8 @@ def domain_registrar_push(domain):
|
||||||
for record in flatten_dns_conf:
|
for record in flatten_dns_conf:
|
||||||
types.add(record["type"])
|
types.add(record["type"])
|
||||||
|
|
||||||
|
operation_logger.start()
|
||||||
|
|
||||||
# Fetch all types present in the generated records
|
# Fetch all types present in the generated records
|
||||||
distant_records = {}
|
distant_records = {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue