chore(xen-api/_setHostAddressInUrl): use _roCall to fetch network ref
Introduced by a84fac1b6
This commit is contained in:
parent
633805cec9
commit
fb21e4d585
@ -822,7 +822,7 @@ export class Xapi extends EventEmitter {
|
||||
if (poolMigrationNetwork !== undefined) {
|
||||
const hostPifs = new Set(host.PIFs)
|
||||
try {
|
||||
const networkRef = await this.call('network.get_by_uuid', poolMigrationNetwork)
|
||||
const networkRef = await this._roCall('network.get_by_uuid', poolMigrationNetwork)
|
||||
const networkPifs = await this.getField('network', networkRef, 'PIFs')
|
||||
|
||||
const migrationNetworkPifRef = networkPifs.find(hostPifs.has, hostPifs)
|
||||
|
Loading…
Reference in New Issue
Block a user