Spaceman1984 commented on a change in pull request #3873: Fixed root volume 
resize from ui
URL: https://github.com/apache/cloudstack/pull/3873#discussion_r377490738
 
 

 ##########
 File path: ui/scripts/storage.js
 ##########
 @@ -1575,13 +1575,13 @@
                                     if (newDiskOffering != null && 
newDiskOffering.length > 0) {
                                         array1.push("&diskofferingid=" + 
encodeURIComponent(newDiskOffering));
                                     }
-                                    if (selectedDiskOfferingObj.iscustomized 
== true) {
+                                    if (selectedDiskOfferingObj == null || 
selectedDiskOfferingObj.iscustomized == true) {
 
 Review comment:
   I have changed the logic to check the volume type instead.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to