JoaoJandre commented on code in PR #8728:
URL: https://github.com/apache/cloudstack/pull/8728#discussion_r2631272782
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmd.java:
##########
@@ -244,9 +240,7 @@ public Map<String, Long> getDataDiskToDiskOfferingList() {
for (Map<String, String> entry : (Collection<Map<String,
String>>)dataDiskToDiskOfferingList.values()) {
String disk = entry.get(VmDetailConstants.DISK);
String offeringUuid =
entry.get(VmDetailConstants.DISK_OFFERING);
- if (logger.isTraceEnabled()) {
- logger.trace(String.format("disk, '%s', gets offering,
'%s'", disk, offeringUuid));
- }
+ logger.trace("Checking if offering '{}' can be user on disk
'{}'", offeringUuid, disk);
Review Comment:
```suggestion
logger.trace("Checking if offering '{}' can be used on disk
'{}'", offeringUuid, disk);
```
--
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]