mirror of https://github.com/apache/cloudstack.git
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
This commit is contained in:
parent
a5dcb27547
commit
c202142a1e
|
|
@ -172,7 +172,7 @@ public class VolumeVO implements Volume {
|
|||
this.uuid = UUID.randomUUID().toString();
|
||||
}
|
||||
|
||||
public VolumeVO(String name, long dcId, long podId, long accountId,
|
||||
public VolumeVO(String name, long dcId, Long podId, long accountId,
|
||||
long domainId, Long instanceId, String folder, String path,
|
||||
long size, Long minIops, Long maxIops, String iScsiName,
|
||||
Volume.Type vType) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue