Skip to content

Commit 3af1702

Browse files
committed
Fix logged message
1 parent eb7447e commit 3af1702

File tree

1 file changed

+3
-2
lines changed
  • vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo

1 file changed

+3
-2
lines changed

vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/BaseMO.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ private String getClusterNameFromHostIncludingStandaloneHosts(HostMO hostMO, Str
270270
ClusterMO clusterMO = new ClusterMO(_context, hostMO.getHyperHostCluster());
271271
return clusterMO.getName();
272272
} catch (Exception e) {
273-
String msg = String.format("Standalone host %s found, setting empty cluster field", hostName);
274-
s_logger.debug(msg);
273+
String msg = String.format("Cannot find a cluster for host %s, assuming standalone host, " +
274+
"setting its cluster name as empty", hostName);
275+
s_logger.info(msg);
275276
return null;
276277
}
277278
}

0 commit comments

Comments
 (0)