KVM: return null state instead of Disconnected when investigate a host without NFS (#10515)

This commit is contained in:
Wei Zhou 2025-03-10 09:06:15 +01:00 committed by GitHub
parent 1f0ffee858
commit cd6d1a23a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ public class KVMInvestigator extends AdapterBase implements Investigator {
if (!storageSupportHA) { if (!storageSupportHA) {
s_logger.warn( s_logger.warn(
"Agent investigation was requested on host " + agent + ", but host does not support investigation because it has no NFS storage. Skipping investigation."); "Agent investigation was requested on host " + agent + ", but host does not support investigation because it has no NFS storage. Skipping investigation.");
return Status.Disconnected; return null;
} }
Status hostStatus = null; Status hostStatus = null;