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

 ##########
 File path: 
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java
 ##########
 @@ -2632,15 +2649,39 @@ protected DiskOfferingVO createDiskOffering(final Long 
userId, final Long domain
         if (bytesReadRate != null && bytesReadRate > 0) {
             newDiskOffering.setBytesReadRate(bytesReadRate);
         }
+        if (bytesReadRateMax != null && bytesReadRateMax > 0) {
 
 Review comment:
   I would recommend avoiding as much as possible any duplicated code. Please 
call a method such as the proposed method `setIOpsOffering(DiskOfferingV)`.

----------------------------------------------------------------
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