shwstppr commented on a change in pull request #5398:
URL: https://github.com/apache/cloudstack/pull/5398#discussion_r700915838



##########
File path: server/src/main/java/com/cloud/storage/StorageManagerImpl.java
##########
@@ -2075,6 +2075,7 @@ public CapacityVO getStoragePoolUsedStats(Long poolId, 
Long clusterId, Long podI
         if (poolId != null) {
             sc.addAnd("hostOrPoolId", SearchCriteria.Op.EQ, poolId);
         }
+        sc.addAnd("parent", SearchCriteria.Op.EQ, 0);

Review comment:
       @DK101010 `parent` is of Long type in `StoragePoolVO`
   ```suggestion
           sc.addAnd("parent", SearchCriteria.Op.EQ, 0L);
   ```




-- 
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]


Reply via email to