From f40e1e55b0f2d6684d640f8ba651ae8082e62124 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Sun, 17 Jan 2016 12:46:08 +0100 Subject: [PATCH] Xapi#importVdiContent(): revert to use Promise.all() instead of Promise.race(). --- src/xapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xapi.js b/src/xapi.js index e8295e792..9aa9b8784 100644 --- a/src/xapi.js +++ b/src/xapi.js @@ -1996,7 +1996,7 @@ export default class Xapi extends XapiBase { const host = vdi.$SR.$PBDs[0].$host - await Promise.race([ + await Promise.all([ this._watchTask(taskRef), put(stream, { hostname: host.address,