fix(xen-api): getObject* should not return null

This commit is contained in:
Julien Fontanet 2018-04-12 11:06:08 +02:00
parent 4b716584f7
commit eb090e4874

View File

@ -246,7 +246,7 @@ export class Xapi extends EventEmitter {
objects.getKey = getKey
this._objectsByRefs = createObject(null)
this._objectsByRefs['OpaqueRef:NULL'] = null
this._objectsByRefs['OpaqueRef:NULL'] = undefined
this._taskWatchers = Object.create(null)