DaanHoogland commented on code in PR #10696:
URL: https://github.com/apache/cloudstack/pull/10696#discussion_r2041667109


##########
engine/storage/src/main/java/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java:
##########
@@ -209,7 +204,7 @@ public List<StoragePool> reorderPools(List<StoragePool> 
pools, VirtualMachinePro
             account = vmProfile.getOwner();
         }
 
-        pools = reorderStoragePoolsBasedOnAlgorithm(pools, plan, account);
+        pools = reorderStoragePoolsBasedOnAlgorithm(pools, plan, account, 
VolumeOrchestrationService.VolumeAllocationAlgorithm.value());

Review Comment:
   @sudo87 , why pass this ? It can be retrieved in the called method.



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to