fix(autopoweron): set pool other_config entry to true instead of on (#310)

Fixes #309 
Fixes vatesfr/xo-web#937
This commit is contained in:
Jon Sands 2016-05-12 07:17:02 -04:00 committed by Julien Fontanet
parent ff9e77118e
commit 4e22a208dd

View File

@ -428,7 +428,7 @@ export default class Xapi extends XapiBase {
nameDescription
}),
autoPoweron != null && this._updateObjectMapProperty(pool, 'other_config', {
autoPoweron: autoPoweron ? 'on' : null
autoPoweron: autoPoweron ? 'true' : null
})
])
}