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

This commit is contained in:
Jessica Wang 2013-06-04 16:09:27 -07:00
parent dfdb8a967e
commit 86c0e28c04
1 changed files with 1 additions and 1 deletions

View File

@ -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;