sureshanaparti commented on a change in pull request #5859:
URL: https://github.com/apache/cloudstack/pull/5859#discussion_r799155795
##########
File path:
plugins/affinity-group-processors/explicit-dedication/src/main/java/org/apache/cloudstack/affinity/ExplicitDedicationProcessor.java
##########
@@ -305,6 +305,9 @@ private ExcludeList
updateAvoidList(List<DedicatedResourceVO> dedicatedResources
for (HostPodVO pod : podList) {
DedicatedResourceVO dPod =
_dedicatedDao.findByPodId(pod.getId());
if (dPod != null && !dedicatedResources.contains(dPod)) {
+ if (s_logger.isDebugEnabled()) {
+ s_logger.debug(String.format("Avoiding POD %s [%s]
because it is dedicated.", pod.getName(), pod.getUuid()));
Review comment:
seems the cond is the check if the pod is not in dedicated resources.
```suggestion
s_logger.debug(String.format("Avoiding POD %s
[%s] because it is not dedicated.", pod.getName(), pod.getUuid()));
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]