You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/02/14 09:08:40 UTC

[GitHub] [cloudstack] DaanHoogland commented on a change in pull request #5986: [Simulator] Add zone wide storage

DaanHoogland commented on a change in pull request #5986:
URL: https://github.com/apache/cloudstack/pull/5986#discussion_r805632294



##########
File path: server/src/main/java/com/cloud/storage/StorageManagerImpl.java
##########
@@ -776,7 +776,7 @@ public PrimaryDataStoreInfo createPool(CreateStoragePoolCmd cmd) throws Resource
                 throw new InvalidParameterValueException("Missing parameter hypervisor. Hypervisor type is required to create zone wide primary storage.");
             }
             if (hypervisorType != HypervisorType.KVM && hypervisorType != HypervisorType.VMware && hypervisorType != HypervisorType.Hyperv && hypervisorType != HypervisorType.LXC
-                    && hypervisorType != HypervisorType.Any) {
+                    && hypervisorType != HypervisorType.Any && hypervisorType != HypervisorType.Simulator) {

Review comment:
       shouldn't `Any` already include `Simulator` somehow?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org