mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Better logging for domain dns push --auto
This commit is contained in:
parent
4f303de7a4
commit
bbc6dcc50b
1 changed files with 1 additions and 2 deletions
|
@ -621,8 +621,7 @@ def _get_registar_settings(domain):
|
||||||
return registrar, settings
|
return registrar, settings
|
||||||
|
|
||||||
|
|
||||||
@is_unit_operation()
|
def domain_dns_push(domains, dry_run=False, force=False, purge=False, auto=False):
|
||||||
def domain_dns_push(operation_logger, domains, dry_run=False, force=False, purge=False, auto=False):
|
|
||||||
if auto:
|
if auto:
|
||||||
domains = domain_list(exclude_subdomains=True, auto_push=True)["domains"]
|
domains = domain_list(exclude_subdomains=True, auto_push=True)["domains"]
|
||||||
elif len(domains) == 0:
|
elif len(domains) == 0:
|
||||||
|
|
Loading…
Add table
Reference in a new issue