From 86c0e28c040f0208176d55c8e6a4004433bee292 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 4 Jun 2013 16:09:27 -0700 Subject: [PATCH] CLOUDSTACK-2029: UI - zone wizard - primary storage step - pass args.data.cluster.hypervisor to API when scope is zone-wide. --- ui/scripts/zoneWizard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js index 9354cbadbde..a7791bbf6b4 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;