You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2013/06/18 09:58:38 UTC

[38/50] [abbrv] git commit: updated refs/heads/disk_io_throttling to 691bc9d

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/disk_io_throttling
Commit: 4c26dd6ae5663e75d5303a977e786a2d920ec267
Parents: 56d390d
Author: Min Chen <mi...@citrix.com>
Authored: Mon Jun 17 15:41:05 2013 -0700
Committer: Min Chen <mi...@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 {