Updated Branches:
  refs/heads/master dfdb8a967 -> 86c0e28c0

CLOUDSTACK-2029: UI - zone wizard - primary storage step - pass 
args.data.cluster.hypervisor to API when scope is zone-wide.


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

Branch: refs/heads/master
Commit: 86c0e28c040f0208176d55c8e6a4004433bee292
Parents: dfdb8a9
Author: Jessica Wang <[email protected]>
Authored: Tue Jun 4 16:09:27 2013 -0700
Committer: Jessica Wang <[email protected]>
Committed: Tue Jun 4 16:11:23 2013 -0700

----------------------------------------------------------------------
 ui/scripts/zoneWizard.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/86c0e28c/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 9354cba..a7791bb 100755
--- a/ui/scripts/zoneWizard.js
+++ b/ui/scripts/zoneWizard.js
@@ -3511,7 +3511,7 @@
 
           //zone-wide-primary-storage is supported only for KVM and VMWare
           if(args.data.primaryStorage.scope == "zone") {
-            array1.push("&hypervisor=" + 
todb(args.data.returnedCluster.hypervisortype)); //hypervisor type of the hosts 
in zone that will be attached to this storage pool. KVM, VMware supported as of 
now.
+            array1.push("&hypervisor=" + todb(args.data.cluster.hypervisor)); 
//hypervisor type of the hosts in zone that will be attached to this storage 
pool. KVM, VMware supported as of now.
           }
           
                                        var server = 
args.data.primaryStorage.server;

Reply via email to