fix(region): apsara bucket limit size

This commit is contained in:
ioito
2022-06-02 16:06:18 +08:00
parent f137eb4e54
commit 44ff87d215
+1 -1
View File
@@ -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
}