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



##########
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:
       Maybe this check isn't required, as it is already present in 
validateCustomParameter(), however no biggie




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