cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Santhosh Edukulla <santhosh.eduku...@citrix.com>
Subject Strange if else under LibvirtStorageAdaptor.java[lines 1203-1206]
Date Mon, 03 Nov 2014 09:05:09 GMT
Team,

Either of the paths are doing the same thing for below if else, please check. This is observed
under master.

 if (srcPool.getType() != StoragePoolType.RBD) {
                    newDisk = destPool.createPhysicalDisk(name, Storage.ProvisioningType.THIN,
disk.getVirtualSize());
                } else {
                    newDisk = destPool.createPhysicalDisk(name, Storage.ProvisioningType.THIN,
disk.getVirtualSize());
                }

Santhosh
Mime
View raw message