Skip to content

Commit 2a80c96

Browse files
Rene GloverCopilot
andauthored
Update plugins/storage/volume/adaptive/src/main/java/org/apache/cloudstack/storage/datastore/driver/AdaptiveDataStoreDriverImpl.java
Co-authored-by: Copilot <[email protected]>
1 parent 6353507 commit 2a80c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/storage/volume/adaptive/src/main/java/org/apache/cloudstack/storage/datastore/driver/AdaptiveDataStoreDriverImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public void copyAsync(DataObject srcdata, DataObject destdata,
348348
// we won't, however, shrink a volume if its smaller.
349349
long size = destdata.getSize();
350350
if (outVolume.getAllocatedSizeInBytes() < destdata.getSize()) {
351-
logger.info("Resizing volume " + destdata.getUuid() + " to requested target volume size of " + destdata.getSize());
351+
logger.info("Resizing volume {} to requested target volume size of {}", destdata.getUuid(), destdata.getSize());
352352
api.resize(context, destIn, destdata.getSize());
353353
} else if (outVolume.getAllocatedSizeInBytes() > destdata.getSize()) {
354354
size = outVolume.getAllocatedSizeInBytes();

0 commit comments

Comments
 (0)