mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
fix usage get storage capbility (#7527)
This commit is contained in:
@@ -951,8 +951,6 @@ func (manager *SStorageManager) totalCapacityQ(
|
||||
q = RangeObjectsFilter(q, rangeObjs, nil, storages.Field("zone_id"), storages.Field("manager_id"), nil, storages.Field("id"))
|
||||
}
|
||||
|
||||
q = q.Distinct()
|
||||
|
||||
if storageOwnership {
|
||||
switch scope {
|
||||
case rbacutils.ScopeSystem:
|
||||
|
||||
Reference in New Issue
Block a user