mirror of https://github.com/apache/cloudstack.git
bug 8446: fixed creating volume from diskOffering with custom size
status 8446: resolved fixed
This commit is contained in:
parent
807562da50
commit
a502b497f2
|
|
@ -1416,7 +1416,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
|||
throw new InvalidParameterValueException("This disk offering requires a custom size specified");
|
||||
}
|
||||
|
||||
if (diskOffering.isCustomized() && size != null) {
|
||||
if (!diskOffering.isCustomized() && size != null) {
|
||||
throw new InvalidParameterValueException("This disk offering does not allow custom size");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue