Skip to content

Commit d2b2419

Browse files
committed
modify logs
1 parent 04e5a44 commit d2b2419

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ private void processHostHealthCheckResult(Boolean hostHealthCheckResult, long ho
13991399
}
14001400
if (!BooleanUtils.toBoolean(EnableKVMAutoEnableDisable.valueIn(host.getClusterId()))) {
14011401
logger.debug("{} is disabled for the cluster {}, cannot process the health check result " +
1402-
"received for the {}", EnableKVMAutoEnableDisable.key(), host.getClusterId(), host);
1402+
"received for {}", EnableKVMAutoEnableDisable.key(), host.getClusterId(), host);
14031403
return;
14041404
}
14051405

server/src/main/java/com/cloud/resource/ResourceManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,7 @@ private void handleAutoEnableDisableKVMHost(boolean autoEnableDisableKVMSetting,
18401840
_hostDetailsDao.update(hostDetail.getId(), hostDetail);
18411841
} else if (!isUpdateFromHostHealthCheck && hostDetail != null &&
18421842
Boolean.parseBoolean(hostDetail.getValue()) && resourceEvent == ResourceState.Event.Disable) {
1843-
logger.info("The setting {} is enabled but the {} is manually set into {} state," +
1843+
logger.info("The setting {} is enabled but {} is manually set into {} state," +
18441844
"ignoring future auto enabling of the host based on health check results",
18451845
AgentManager.EnableKVMAutoEnableDisable.key(), host, resourceEvent);
18461846
hostDetail.setValue(Boolean.FALSE.toString());

0 commit comments

Comments
 (0)