fix(backups/_MixinXapiWriter#healthCheck): add_tag → add_tags

Fixes https://xcp-ng.org/forum/post/69156

Introduced by a5acc7d26
This commit is contained in:
Julien Fontanet 2024-01-06 15:15:57 +01:00
parent 74ff64dfb4
commit 7780cb176a
2 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export const MixinXapiWriter = (BaseClass = Object) =>
)
}
const healthCheckVm = xapi.getObject(healthCheckVmRef) ?? (await xapi.waitObject(healthCheckVmRef))
await healthCheckVm.add_tag('xo:no-bak=Health Check')
await healthCheckVm.add_tags('xo:no-bak=Health Check')
await new HealthCheckVmBackup({
restoredVm: healthCheckVm,
xapi,

View File

@ -16,6 +16,7 @@
- [Proxies] Fix `this.getObject` is not a function during deployment
- [Settings/Logs] Fix `sr.getAllUnhealthyVdiChainsLength: not enough permissions` error with non-admin users (PR [#7265](https://github.com/vatesfr/xen-orchestra/pull/7265))
- [Settings/Logs] Fix `proxy.getAll: not enough permissions` error with non-admin users (PR [#7249](https://github.com/vatesfr/xen-orchestra/pull/7249))
- [Replication/Health Check] Fix `healthCheckVm.add_tag is not a function` error [Forum#69156](https://xcp-ng.org/forum/post/69156)
### Packages to release
@ -33,6 +34,7 @@
<!--packages-start-->
- @xen-orchestra/backups patch
- xo-cli patch
- xo-server patch
- xo-web minor