fix(xo-server/proxy.upgradeAppliance): use getObject method on correct object

Introduced by 572359892
This commit is contained in:
Julien Fontanet 2022-11-10 18:12:57 +01:00
parent 08298d3284
commit 185509a0cf
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
> Users must be able to say: “I had this issue, happy to know it's fixed” > Users must be able to say: “I had this issue, happy to know it's fixed”
- [Dashboard/Health] Fix `Unknown SR` and `Unknown VDI` in Unhealthy VDIs (PR [#6519](https://github.com/vatesfr/xen-orchestra/pull/6519)) - [Dashboard/Health] Fix `Unknown SR` and `Unknown VDI` in Unhealthy VDIs (PR [#6519](https://github.com/vatesfr/xen-orchestra/pull/6519))
- [Proxies] Fix `this.getObject is not a function` on upgrade
### Packages to release ### Packages to release

View File

@ -200,7 +200,7 @@ export default class Proxy {
const { vmUuid } = await this._getProxy(id) const { vmUuid } = await this._getProxy(id)
if (vmUuid !== undefined) { if (vmUuid !== undefined) {
try { try {
this.getObject(vmUuid, 'VM') this._app.getObject(vmUuid, 'VM')
isVmKnown = true isVmKnown = true
} catch (error) { } catch (error) {