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:
Koushik Das 2013-07-19 19:08:03 +05:30
parent 2b82c3e1db
commit d9f7c6e531
1 changed files with 1 additions and 1 deletions

View File

@ -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) {