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:
Dave Brosius 2013-06-18 23:17:25 -04:00 committed by Prasanna Santhanam
parent 61bc6c8477
commit 625a9a1dc8

View File

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