Skip to content

Commit

Permalink
fix(xo-server-backup-report): send report for Mirror Backup (#7049)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeauchamp committed Sep 27, 2023
1 parent bb6e158 commit f0f429a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -27,4 +29,6 @@
<!--packages-start-->

- xo-server-backup-reports patch

<!--packages-end-->
2 changes: 1 addition & 1 deletion packages/xo-server-backup-reports/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f0f429a

Please sign in to comment.