Skip to content

Commit

Permalink
fix: [M3-9049] - Resolve bucket size discrepancy in CM (linode#11460)
Browse files Browse the repository at this point in the history
* fix: [M3-9049] - Remove discrepancy in bucket size in CM

* Added changeset: Discrepancy in Object Storage Bucket size in CM
  • Loading branch information
hasyed-akamai authored Dec 26, 2024
1 parent 8cea97c commit 2e89ecc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11460-fixed-1735030571347.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Discrepancy in Object Storage Bucket size in CM ([#11460](https://github.com/linode/manager/pull/11460))
2 changes: 1 addition & 1 deletion packages/manager/src/store/selectors/getSearchEntities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const bucketToSearchableItem = (
data: {
cluster: bucket.cluster,
created: bucket.created,
description: readableBytes(bucket.size).formatted,
description: readableBytes(bucket.size, { base10: true }).formatted,
icon: 'storage',
label: bucket.label,
path: `/object-storage/buckets/${bucket.cluster}/${bucket.label}`,
Expand Down

0 comments on commit 2e89ecc

Please sign in to comment.