cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject git commit: updated refs/heads/master-6-17-stable to dff87ed
Date Mon, 17 Jun 2013 22:43:46 GMT
Updated Branches:
  refs/heads/master-6-17-stable 3e3e5830b -> dff87ed7c


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/dff87ed7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/dff87ed7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/dff87ed7

Branch: refs/heads/master-6-17-stable
Commit: dff87ed7cf048fb845bb6f466587d60cf3f8fcb7
Parents: 3e3e583
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:41:05 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/dff87ed7/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