mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
remove dead code
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com> Signed-off-by: Prasanna Santhanam <tsp@apache.org> Reviewed-by: Prachi Damle <prachi@cloud.com>
This commit is contained in:
parent
61bc6c8477
commit
625a9a1dc8
@ -223,15 +223,6 @@ public class VMEntityManagerImpl implements VMEntityManager {
|
||||
|
||||
VMReservationVO vmReservation = _reservationDao.findByReservationId(reservationId);
|
||||
if(vmReservation != null){
|
||||
// Pass it down
|
||||
Long poolId = null;
|
||||
Map<Long, Long> storage = vmReservation.getVolumeReservation();
|
||||
if (storage != null) {
|
||||
List<Long> volIdList = new ArrayList<Long>(storage.keySet());
|
||||
if (volIdList != null && !volIdList.isEmpty()) {
|
||||
poolId = storage.get(volIdList.get(0));
|
||||
}
|
||||
}
|
||||
|
||||
DataCenterDeployment reservedPlan = new DataCenterDeployment(vm.getDataCenterId(),
|
||||
vmReservation.getPodId(), vmReservation.getClusterId(), vmReservation.getHostId(), null, null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user