cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahu...@apache.org
Subject [42/50] [abbrv] git commit: updated refs/heads/vmsync to e2edae1
Date Tue, 18 Jun 2013 03:07:07 GMT
CLOUDSTACK-2956:createStoragePools API should ignore passed clusterId
and podId parameters in creating zone scoped primary storage


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

Branch: refs/heads/vmsync
Commit: 4c26dd6ae5663e75d5303a977e786a2d920ec267
Parents: 56d390d
Author: Min Chen <min.chen@citrix.com>
Authored: Mon Jun 17 15:41:05 2013 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Mon Jun 17 15:57:52 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/storage/StorageManagerImpl.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4c26dd6a/server/src/com/cloud/storage/StorageManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/StorageManagerImpl.java b/server/src/com/cloud/storage/StorageManagerImpl.java
index d38b35e..655eaea 100755
--- a/server/src/com/cloud/storage/StorageManagerImpl.java
+++ b/server/src/com/cloud/storage/StorageManagerImpl.java
@@ -777,6 +777,9 @@ public class StorageManagerImpl extends ManagerBase implements StorageManager,
C
 
         HypervisorType hypervisorType = HypervisorType.KVM;
         if (scopeType == ScopeType.ZONE) {
+            // ignore passed clusterId and podId
+            clusterId = null;
+            podId = null;
             String hypervisor = cmd.getHypervisor();
             if (hypervisor != null) {
                 try {


Mime
View raw message