Merge remote-tracking branch 'apache/4.17' into 4.18

This commit is contained in:
Abhishek Kumar 2023-04-11 17:15:57 +05:30
commit 4c9c1d2d7b

View File

@ -1416,13 +1416,13 @@ export default {
continue
}
if (input === undefined || input === null ||
(input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork', 'updateDiskOffering', 'updateNetworkOffering', 'updateServiceOffering', 'updateAccount'].includes(action.api))) {
(input === '' && !['updateStoragePool', 'updateHost', 'updatePhysicalNetwork', 'updateDiskOffering', 'updateNetworkOffering', 'updateServiceOffering', 'updateZone', 'updateAccount'].includes(action.api))) {
if (param.type === 'boolean') {
params[key] = false
}
break
}
if (input === '' && !['tags', 'hosttags', 'storagetags', 'networkdomain'].includes(key)) {
if (input === '' && !['tags', 'hosttags', 'storagetags', 'dns2', 'ip6dns1', 'ip6dns2', 'internaldns2', 'networkdomain'].includes(key)) {
break
}
if (action.mapping && key in action.mapping && action.mapping[key].options) {