fix(xapi): typo on host disable method. Fixes vatesfr/xo-web#1351
This commit is contained in:
parent
504c934fc9
commit
5d7c95a34d
@ -714,7 +714,7 @@ export default class Xapi extends XapiBase {
|
|||||||
await this.call('host.evacuate', ref)
|
await this.call('host.evacuate', ref)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (!force) {
|
if (!force) {
|
||||||
await this.call('host.enabled', ref)
|
await this.call('host.enable', ref)
|
||||||
|
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user