mirror of https://github.com/apache/cloudstack.git
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:
parent
4f356392ab
commit
62c8a1110c
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue