fix(xen-api/getRecord): pass type and ref to _wrapRecord
This commit is contained in:
parent
96a966b9ea
commit
b459f74a8c
@ -538,6 +538,8 @@ export class Xapi extends EventEmitter {
|
|||||||
|
|
||||||
async getRecord(type, ref) {
|
async getRecord(type, ref) {
|
||||||
return this._wrapRecord(
|
return this._wrapRecord(
|
||||||
|
type,
|
||||||
|
ref,
|
||||||
await this._sessionCall(`${type}.get_record`, [ref])
|
await this._sessionCall(`${type}.get_record`, [ref])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user