diff --git a/packages/xen-api/src/index.js b/packages/xen-api/src/index.js index c3063db79..837435f95 100644 --- a/packages/xen-api/src/index.js +++ b/packages/xen-api/src/index.js @@ -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] } }