Fix staging for summary report
This commit is contained in:
parent
61365e6e01
commit
a957218976
|
@ -731,13 +731,15 @@ def worker_cluster_autobackup(
|
||||||
autobackup_end_time = datetime.now()
|
autobackup_end_time = datetime.now()
|
||||||
autobackup_total_time = autobackup_end_time - autobackup_start_time
|
autobackup_total_time = autobackup_end_time - autobackup_start_time
|
||||||
|
|
||||||
send_execution_summary_report(
|
if email_recipients is not None:
|
||||||
(celery, current_stage, total_stages),
|
send_execution_summary_report(
|
||||||
config,
|
(celery, current_stage, total_stages),
|
||||||
recipients=email_recipients,
|
config,
|
||||||
total_time=autobackup_total_time,
|
recipients=email_recipients,
|
||||||
summary=backup_summary,
|
total_time=autobackup_total_time,
|
||||||
)
|
summary=backup_summary,
|
||||||
|
)
|
||||||
|
current_stage += 1
|
||||||
|
|
||||||
current_stage += 1
|
current_stage += 1
|
||||||
return finish(
|
return finish(
|
||||||
|
|
Loading…
Reference in New Issue