From 5d7c95a34dc179308454e1841e0e1bd48b33be5c Mon Sep 17 00:00:00 2001 From: Olivier Lambert Date: Sat, 30 Jul 2016 20:22:12 +0200 Subject: [PATCH] fix(xapi): typo on host disable method. Fixes vatesfr/xo-web#1351 --- src/xapi/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xapi/index.js b/src/xapi/index.js index 84a629aa1..730354973 100644 --- a/src/xapi/index.js +++ b/src/xapi/index.js @@ -714,7 +714,7 @@ export default class Xapi extends XapiBase { await this.call('host.evacuate', ref) } catch (error) { if (!force) { - await this.call('host.enabled', ref) + await this.call('host.enable', ref) throw error }