DaanHoogland commented on code in PR #11054:
URL: https://github.com/apache/cloudstack/pull/11054#discussion_r2156450559


##########
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/HostMO.java:
##########
@@ -320,6 +320,11 @@ public AboutInfo getHostAboutInfo() throws Exception {
 
     public VmwareHostType getHostType() throws Exception {
         AboutInfo aboutInfo = getHostAboutInfo();
+        if (aboutInfo == null) {
+            String msg = "no type info about host known"
+            s_logger.error(msg)
+            throw new Exception(msg);

Review Comment:
   what I meant @weizhouapache , is your argument makes sense, I yield. Please 
see my changed code fragment at 
https://github.com/apache/cloudstack/pull/11054#discussion_r2156423875.



-- 
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-unsubscr...@cloudstack.apache.org

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

Reply via email to