From 44ff87d2152e3d66f91a8f1756db5d5f740494b2 Mon Sep 17 00:00:00 2001 From: ioito Date: Thu, 2 Jun 2022 16:06:18 +0800 Subject: [PATCH] fix(region): apsara bucket limit size --- pkg/multicloud/apsara/bucket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/multicloud/apsara/bucket.go b/pkg/multicloud/apsara/bucket.go index e58b08de08..c7913d9e53 100644 --- a/pkg/multicloud/apsara/bucket.go +++ b/pkg/multicloud/apsara/bucket.go @@ -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 }