chore(xen-api): typo

Fixes vatesfr/xo-web#2606
This commit is contained in:
Julien Fontanet 2018-02-01 11:02:07 +01:00
parent 62a9158074
commit 9479b7dc74

View File

@ -819,7 +819,7 @@ export class Xapi extends EventEmitter {
const taskWatchers = this._taskWatchers
const taskWatcher = taskWatchers[ref]
if (taskWatcher !== undefined) {
taskWatcher.reject(new Error('task has been detroyed before completion'))
taskWatcher.reject(new Error('task has been destroyed before completion'))
delete taskWatchers[ref]
}
}