Skip to content

Commit e239147

Browse files
Update engine/storage/src/main/java/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java
Apply suggestion Co-authored-by: Bernardo De Marco Gonçalves <[email protected]>
1 parent fce33d9 commit e239147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/storage/src/main/java/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ List<StoragePool> reorderStoragePoolsBasedOnAlgorithm(List<StoragePool> pools, D
237237
void reorderRandomPools(List<StoragePool> pools) {
238238
StorageUtil.traceLogStoragePools(pools, logger, "pools to choose from: ");
239239
if (logger.isTraceEnabled()) {
240-
logger.trace("Shuffle this so that we don't check the pools in the same order. Algorithm == '[{}]' (or no account?)", allocationAlgorithm);
240+
logger.trace("Shuffling the list of storage pools, since the algorithm is '[{}]' or no account has been specified", allocationAlgorithm);
241241
}
242242
logger.debug("Pools to shuffle: [{}]", pools);
243243
Collections.shuffle(pools, secureRandom);

0 commit comments

Comments
 (0)