From 7780cb176a7e345c96fa0b660322c05349385892 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Sat, 6 Jan 2024 15:15:57 +0100 Subject: [PATCH] =?UTF-8?q?fix(backups/=5FMixinXapiWriter#healthCheck):=20?= =?UTF-8?q?add=5Ftag=20=E2=86=92=20add=5Ftags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes https://xcp-ng.org/forum/post/69156 Introduced by a5acc7d26 --- @xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs | 2 +- CHANGELOG.unreleased.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs b/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs index aef714e4c..3efa116f5 100644 --- a/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs +++ b/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs @@ -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, diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 219f83655..0fa23d20a 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -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 @@ +- @xen-orchestra/backups patch - xo-cli patch - xo-server patch - xo-web minor