gruckbit commented on code in PR #12567:
URL: https://github.com/apache/cloudstack/pull/12567#discussion_r2754433645


##########
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java:
##########
@@ -8242,8 +8242,7 @@ public Integer getServiceOfferingNetworkRate(final long 
serviceOfferingId, final
             if (offering.getVmType() != null && 
offering.getVmType().equalsIgnoreCase(VirtualMachine.Type.DomainRouter.toString()))
 {
                 networkRate = 
NetworkOrchestrationService.NetworkThrottlingRate.valueIn(dataCenterId);
             } else {
-                networkRate = 
Integer.parseInt(_configDao.getValue(Config.VmNetworkThrottlingRate.key()));
-            }
+                networkRate = 
NetworkOrchestrationService.VmNetworkThrottlingRate.value();}

Review Comment:
   Sure, done!



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