mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2956:createStoragePools API should ignore passed clusterId
and podId parameters in creating zone scoped primary storage
This commit is contained in:
parent
3e3e5830b4
commit
dff87ed7cf
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue