diff --git a/src/xo-mixins/xen-servers.js b/src/xo-mixins/xen-servers.js index 20f5d7c83..f72142e10 100644 --- a/src/xo-mixins/xen-servers.js +++ b/src/xo-mixins/xen-servers.js @@ -313,7 +313,7 @@ export default class { throw new Error(`object ${object.id} does not belong to a pool`) } - const xapi = this._xapis[poolId] + const xapi = this._xapisByPool[poolId] if (!xapi) { throw new Error(`no connection found for object ${object.id}`) }