Handle decimals in k8s resource usage calculation (#20514)

When one of the numerator/denominator is a number and other is bigint this was failing.
decimals cannot be converted to bigints

Signed-off-by: Tomasz Szuba <tszuba@box.com>
This commit is contained in:
Tomasz Szuba
2023-10-11 16:11:33 +02:00
committed by GitHub
parent f4dbbfb322
commit 4262e12921
4 changed files with 25 additions and 15 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-react': patch
---
Handle mixed decimals and bigint when calculating k8s resource usage