Skip to content

Commit c202142

Browse files
author
Koushik Das
committed
CLOUDSTACK-3628: [Storage]Migration of data disk from Shared primary to shared/local primary storage is throwing NPE
'Long' value was getting passed to a parameter of type 'long' and in case of null was resulting in NPE
1 parent a5dcb27 commit c202142

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/schema/src/com/cloud/storage/VolumeVO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public VolumeVO(Type type, String name, long dcId, long domainId,
172172
this.uuid = UUID.randomUUID().toString();
173173
}
174174

175-
public VolumeVO(String name, long dcId, long podId, long accountId,
175+
public VolumeVO(String name, long dcId, Long podId, long accountId,
176176
long domainId, Long instanceId, String folder, String path,
177177
long size, Long minIops, Long maxIops, String iScsiName,
178178
Volume.Type vType) {

0 commit comments

Comments
 (0)