fix(xapi): typo on host disable method. Fixes vatesfr/xo-web#1351

This commit is contained in:
Olivier Lambert 2016-07-30 20:22:12 +02:00
parent 504c934fc9
commit 5d7c95a34d

View File

@ -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
}