sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1900332677
##########
plugins/dedicated-resources/src/main/java/org/apache/cloudstack/dedicated/DedicatedResourceManagerImpl.java:
##########
@@ -302,7 +302,7 @@ public List<DedicatedResourceVO> dedicatePod(final Long
podId, final Long domain
if (dedicatedZoneOfPod.getAccountId() != null || (accountId ==
null && !domainIdInChildreanList) ||
(accountId != null &&
!(dedicatedZoneOfPod.getDomainId().equals(domainId) ||
domainIdInChildreanList))) {
DataCenterVO zone =
_zoneDao.findById(pod.getDataCenterId());
- logger.error("Cannot dedicate Pod. Its zone is already
dedicated");
+ logger.error(String.format("Cannot dedicate Pod. Its
zone%s is already dedicated", zone));
Review Comment:
```suggestion
logger.error(String.format("Cannot dedicate Pod. Its
zone %s is already dedicated", zone));
```
--
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]