fix(backups/_MixinXapiWriter): typo _heathCheckSr → _healthCheckSr (#6969)

Fix `TypeError: Cannot read properties of undefined (reading 'uuid') at #isAlreadyOnHealthCheckSr`
This commit is contained in:
Florent BEAUCHAMP
2023-08-08 09:48:53 +02:00
committed by GitHub
parent 66bee59774
commit a13fda5fe9
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ export const MixinXapiWriter = (BaseClass = Object) =>
const vdiRefs = await xapi.VM_getDisks(baseVm.$ref)
for (const vdiRef of vdiRefs) {
const vdi = xapi.getObject(vdiRef)
if (vdi.$SR.uuid !== this._heathCheckSr.uuid) {
if (vdi.$SR.uuid !== this._healthCheckSr.uuid) {
return false
}
}

View File

@@ -12,6 +12,7 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [LDAP] Mark the _Id attribute_ setting as required
- [Incremental Replication] Fix `TypeError: Cannot read properties of undefined (reading 'uuid') at #isAlreadyOnHealthCheckSr` [Forum#7492](https://xcp-ng.org/forum/topic/7492) (PR [#6969](https://github.com/vatesfr/xen-orchestra/pull/6969))
### Packages to release
@@ -29,6 +30,7 @@
<!--packages-start-->
- @xen-orchestra/backups patch
- xen-api patch
- xo-server patch
- xo-server-auth-ldap patch