sureshanaparti commented on code in PR #8934:
URL: https://github.com/apache/cloudstack/pull/8934#discussion_r2675431775


##########
server/src/main/java/com/cloud/resource/ResourceManagerImpl.java:
##########
@@ -2830,10 +2828,7 @@ public List<HypervisorType> 
getSupportedHypervisorTypes(final long zoneId, final
 
     @Override
     public HypervisorType getDefaultHypervisor(final long zoneId) {
-        HypervisorType defaultHyper = HypervisorType.None;
-        if (_defaultSystemVMHypervisor != HypervisorType.None) {
-            defaultHyper = _defaultSystemVMHypervisor;
-        }
+        HypervisorType defaultHyper = 
HypervisorType.getType(ResourceManager.SystemVMDefaultHypervisor.value());

Review Comment:
   ```suggestion
           HypervisorType systemVMDefaultHypervisor = 
HypervisorType.getType(ResourceManager.SystemVMDefaultHypervisor.value());
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to