shwstppr commented on a change in pull request #5828:
URL: https://github.com/apache/cloudstack/pull/5828#discussion_r779407605



##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -2644,6 +2643,9 @@ private void verifyVmLimits(UserVmVO vmInstance, 
Map<String, String> details) {
             Map<String, String> customParameters = new HashMap<>();
             customParameters.put(VmDetailConstants.CPU_NUMBER, 
String.valueOf(newCpu));
             customParameters.put(VmDetailConstants.MEMORY, 
String.valueOf(newMemory));
+            if (svcOffering.getSpeed() == null) {

Review comment:
       @sureshanaparti please check the code. This method is not just for 
unconstrained offerings. CPU Speed detail is added only for offerings that are 
dynamic and having null speed 




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