mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
avoid crash when initializing bucket quota cache (#20258)
This commit is contained in:
@@ -171,7 +171,7 @@ func veeamSOSAPIGetObject(ctx context.Context, bucket, object string, rs *HTTPRa
|
||||
}
|
||||
|
||||
q, _ := globalBucketQuotaSys.Get(ctx, bucket)
|
||||
binfo, _ := globalBucketQuotaSys.GetBucketUsageInfo(ctx, bucket)
|
||||
binfo := globalBucketQuotaSys.GetBucketUsageInfo(ctx, bucket)
|
||||
|
||||
ci := capacityInfo{
|
||||
Used: int64(binfo.Size),
|
||||
|
||||
Reference in New Issue
Block a user