mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): apsara bucket limit size
This commit is contained in:
@@ -175,7 +175,7 @@ func (b *SBucket) GetLimit() cloudprovider.SBucketStats {
|
||||
dep, _ := strconv.Atoi(b.Department)
|
||||
capa, _ := b.region.GetBucketCapacity(b.Name, dep)
|
||||
if capa > 0 {
|
||||
ret.SizeBytes = capa * 1024 * 1024 * 1024 * 1024
|
||||
ret.SizeBytes = capa * 1024 * 1024 * 1024
|
||||
}
|
||||
return ret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user