Merge remote-tracking branch 'origin/4.15'

This commit is contained in:
Rohit Yadav 2021-01-25 17:29:35 +05:30
commit cbcd698e38

View File

@ -957,7 +957,8 @@ export default {
if (param.name !== key) {
continue
}
if (input === undefined || input === null || input === '') {
if (!input === undefined || input === null ||
(input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork'].includes(action.api))) {
if (param.type === 'boolean') {
params[key] = false
}