fix(xo-server): missing data in mirror backup job (#7254)

Mirror Backup jobs weren't storing all the data necessary for sending the report
This commit is contained in:
Florent BEAUCHAMP 2023-12-21 17:39:39 +01:00 committed by GitHub
parent dd6c858737
commit 4c775f6b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -6,12 +6,15 @@
### Enhancements
> Users must be able to say: “Nice enhancement, I'm eager to test it”
- [SR] show an icon on SR during VDI coalescing (with XCP-ng 8.3+) (PR [#7241](https://github.com/vatesfr/xen-orchestra/pull/7241))
- [VDI/Export] Expose NBD settings in the XO and REST APIs api (PR [#7251](https://github.com/vatesfr/xen-orchestra/pull/7251))
### Bug fixes
- [Backup/Report] Missing report for Mirror Backup (PR [#7254](https://github.com/vatesfr/xen-orchestra/pull/7254))
> Users must be able to say: “I had this issue, happy to know it's fixed”
### Packages to release

View File

@ -171,7 +171,7 @@ export default class Jobs {
const runJobId = logger.notice(`Starting execution of ${id}.`, {
data:
type === 'backup' || type === 'metadataBackup'
type === 'backup' || type === 'metadataBackup' || type === 'mirrorBackup'
? {
mode: job.mode,
reportWhen: job.settings['']?.reportWhen ?? 'failure',