cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject git commit: updated refs/heads/master to 625a9a1
Date Tue, 02 Jul 2013 06:48:10 GMT
Updated Branches:
  refs/heads/master 61bc6c847 -> 625a9a1dc


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>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/625a9a1d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/625a9a1d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/625a9a1d

Branch: refs/heads/master
Commit: 625a9a1dc8564da80a13285fd07950c1f14d607a
Parents: 61bc6c8
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Tue Jun 18 23:17:25 2013 -0400
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Tue Jul 2 12:17:39 2013 +0530

----------------------------------------------------------------------
 .../engine/cloud/entity/api/VMEntityManagerImpl.java        | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/625a9a1d/engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
----------------------------------------------------------------------
diff --git a/engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
b/engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
index 38ed7e6..bd2ee32 100755
--- a/engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
+++ b/engine/orchestration/src/org/apache/cloudstack/engine/cloud/entity/api/VMEntityManagerImpl.java
@@ -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);


Mime
View raw message