Skip to content

Commit 625a9a1

Browse files
mebigfatguyPrasanna Santhanam
authored andcommitted
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>
1 parent 61bc6c8 commit 625a9a1

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -223,15 +223,6 @@ public void deployVirtualMachine(String reservationId, VMEntityVO vmEntityVO, St
223223

224224
VMReservationVO vmReservation = _reservationDao.findByReservationId(reservationId);
225225
if(vmReservation != null){
226-
// Pass it down
227-
Long poolId = null;
228-
Map<Long, Long> storage = vmReservation.getVolumeReservation();
229-
if (storage != null) {
230-
List<Long> volIdList = new ArrayList<Long>(storage.keySet());
231-
if (volIdList != null && !volIdList.isEmpty()) {
232-
poolId = storage.get(volIdList.get(0));
233-
}
234-
}
235226

236227
DataCenterDeployment reservedPlan = new DataCenterDeployment(vm.getDataCenterId(),
237228
vmReservation.getPodId(), vmReservation.getClusterId(), vmReservation.getHostId(), null, null);

0 commit comments

Comments
 (0)