rhtyd commented on a change in pull request #3184: Fixed Decision Making Logic
when selecting which secondary storage to use from a selection
URL: https://github.com/apache/cloudstack/pull/3184#discussion_r262821149
##########
File path: server/src/main/java/com/cloud/server/StatsCollector.java
##########
@@ -1364,6 +1364,12 @@ public boolean imageStoreHasEnoughCapacity(DataStore
imageStore) {
return false;
}
+ public Long imageStoreCurrentCapacity(DataStore imageStore) {
Review comment:
The name is misleading it can say something like
`imageStoreCurrentFreeSpace/Capacity`, moreover `imageStoreHasEnoughCapacity`
can be used instead.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services