harikrishna-patnala commented on a change in pull request #5008:
URL: https://github.com/apache/cloudstack/pull/5008#discussion_r756720190



##########
File path: 
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
##########
@@ -2857,7 +2857,7 @@ private DiskOfferingVO createDiskOfferingInternal(final 
long userId, final boole
                                                       Long iopsWriteRate, Long 
iopsWriteRateMax, Long iopsWriteRateMaxLength,
                                                       final Integer 
hypervisorSnapshotReserve, String cacheMode, final Long storagePolicyID) {
 
-        DiskOfferingVO diskOffering = new DiskOfferingVO(name, displayText, 
typedProvisioningType, false, tags, false, localStorageRequired, true);
+        DiskOfferingVO diskOffering = new DiskOfferingVO(name, displayText, 
typedProvisioningType, false, tags, false, localStorageRequired, false);

Review comment:
       This method createDiskOfferingInternal is used only to create disk 
offering entry for compute only service offering. In this case customized is 
always false since compute offering creation does not allow creating customized 
disk size disk offering.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to