fix(xo-server-backup-report): send report for Mirror Backup (#7049)

This commit is contained in:
Florent BEAUCHAMP 2023-09-27 16:39:27 +02:00 committed by GitHub
parent bb6e158301
commit f0f429a473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,8 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [Backup/Mirror] Fix backup report not being sent (PR [#7049](https://github.com/vatesfr/xen-orchestra/pull/7049))
### Packages to release
> When modifying a package, add it here with its release type.
@ -27,4 +29,6 @@
<!--packages-start-->
- xo-server-backup-reports patch
<!--packages-end-->

View File

@ -249,7 +249,7 @@ class BackupReportsXoPlugin {
}),
])
if (job.type === 'backup') {
if (job.type === 'backup' || job.type === 'mirrorBackup') {
return this._ngVmHandler(log, job, schedule, force)
} else if (job.type === 'metadataBackup') {
return this._metadataHandler(log, job, schedule, force)