mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6170 (Fixed an issue where custom compute offering and custom storage IOPS were leading to custom storage IOPS that were specified not being used)
This commit is contained in:
parent
5e3d4aebac
commit
b354893393
|
|
@ -173,6 +173,7 @@ public class ServiceOfferingVO extends DiskOfferingVO implements ServiceOffering
|
|||
offering.getUseLocalStorage(),
|
||||
offering.getSystemUse(),
|
||||
true,
|
||||
offering.isCustomizedIops(),
|
||||
offering.getDomainId());
|
||||
cpu = offering.getCpu();
|
||||
ramSize = offering.getRamSize();
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ public class DiskOfferingVO implements DiskOffering {
|
|||
}
|
||||
|
||||
public DiskOfferingVO(long id, String name, String displayText, boolean mirrored, String tags, boolean recreatable,
|
||||
boolean useLocalStorage, boolean systemUse, boolean customized, Long domainId) {
|
||||
boolean useLocalStorage, boolean systemUse, boolean customized, boolean customizedIops, Long domainId) {
|
||||
this.id = id;
|
||||
type = Type.Service;
|
||||
this.name = name;
|
||||
|
|
@ -217,6 +217,7 @@ public class DiskOfferingVO implements DiskOffering {
|
|||
this.useLocalStorage = useLocalStorage;
|
||||
this.systemUse = systemUse;
|
||||
this.customized = customized;
|
||||
this.customizedIops = customizedIops;
|
||||
this.domainId = domainId;
|
||||
uuid = UUID.randomUUID().toString();
|
||||
state = State.Active;
|
||||
|
|
|
|||
Loading…
Reference in New Issue