DaanHoogland commented on a change in pull request #3133: feature: add libvirt 
/ qemu io bursting
URL: https://github.com/apache/cloudstack/pull/3133#discussion_r249754523
 
 

 ##########
 File path: 
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
 ##########
 @@ -2368,54 +2376,69 @@ protected ServiceOfferingVO 
createServiceOffering(final long userId, final boole
                 limitResourceUse, volatileVm, displayText, 
typedProvisioningType, localStorageRequired, false, tags, isSystem, vmType,
                 domainId, hostTag, deploymentPlanner);
 
-        if (isCustomizedIops != null) {
-            bytesReadRate = null;
-            bytesWriteRate = null;
-            iopsReadRate = null;
-            iopsWriteRate = null;
-
-            if (isCustomizedIops) {
+        if (Boolean.TRUE.equals(isCustomizedIops)) {
 
 Review comment:
   @mike-tutkowski can you comment?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to