Fix iops values when creating a compute offering (#3345)

@mike-tutkowski @syed If there's something more that needs to be added/changed, we'll just open another PR for this. 

For now this seems to be a very straightforward fix for the UI problem with managed storage.

* Fix iops values when creating a compute offering
* Fix iops values when creating a disk offering
This commit is contained in:
Philipp Bankonier 2019-05-23 13:25:49 +02:00 committed by Dennis Konrad
parent 4f356392ab
commit 62c8a1110c
1 changed files with 2 additions and 2 deletions

View File

@ -2411,7 +2411,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
limitResourceUse, volatileVm, displayText, typedProvisioningType, localStorageRequired, false, tags, isSystem, vmType,
domainId, hostTag, deploymentPlanner);
if (Boolean.TRUE.equals(isCustomizedIops)) {
if (Boolean.TRUE.equals(isCustomizedIops) || isCustomizedIops == null) {
minIops = null;
maxIops = null;
} else {
@ -2632,7 +2632,7 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
isCustomized = true;
}
if (Boolean.TRUE.equals(isCustomizedIops)) {
if (Boolean.TRUE.equals(isCustomizedIops) || isCustomizedIops == null) {
minIops = null;
maxIops = null;
} else {