mirror of https://github.com/apache/cloudstack.git
KVM: return null state instead of Disconnected when investigate a host without NFS (#10515)
This commit is contained in:
parent
1f0ffee858
commit
cd6d1a23a2
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue