Skip to content

Commit 84135cd

Browse files
Sakshamsrajesh-battala
authored andcommitted
CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering
1 parent cadefb1 commit 84135cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎engine/schema/src/com/cloud/service/ServiceOfferingVO.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public ServiceOfferingVO(ServiceOfferingVO offering) {
173173
offering.getUseLocalStorage(),
174174
offering.getSystemUse(),
175175
true,
176-
offering.isCustomizedIops(),
176+
offering.isCustomizedIops()== null ? false:offering.isCustomizedIops(),
177177
offering.getDomainId());
178178
cpu = offering.getCpu();
179179
ramSize = offering.getRamSize();

0 commit comments

Comments
 (0)