Skip to content

Commit 8a546a1

Browse files
fix(Tenants): use blob storage (#530)
1 parent 8a752e0 commit 8a546a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store/reducers/tenants/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ export const calculateTenantMetrics = (tenant?: TTenant) => {
3838
const cpu = cpuFromCores ?? cpuFromMetrics ?? undefined;
3939

4040
const rawMemory = MemoryUsed ?? Metrics.Memory;
41-
const rawStorage = StorageAllocatedSize ?? Metrics.Storage;
4241

4342
const memory = isNumeric(rawMemory) ? Number(rawMemory) : undefined;
44-
const storage = isNumeric(rawStorage) ? Number(rawStorage) : undefined;
4543

44+
// Blob storage - actual database size
45+
const storage = isNumeric(StorageAllocatedSize) ? Number(StorageAllocatedSize) : undefined;
4646
const cpuLimit = isNumeric(CoresLimit) ? Number(CoresLimit) : undefined;
4747
const memoryLimit = isNumeric(MemoryLimit) ? Number(MemoryLimit) : undefined;
4848
const storageLimit = isNumeric(StorageLimit) ? Number(StorageLimit) : undefined;

0 commit comments

Comments
 (0)