CRITICAL FIX: corrigido parsing de CPU que estava convertendo 100m para 100 cores

This commit is contained in:
2025-09-29 18:16:13 -03:00
parent b56a9e6e14
commit dea241f8ca

View File

@@ -81,7 +81,7 @@ class K8sClient:
if not value or value == "0":
return 0.0
value = value.replace("m", "").replace(" ", "")
value = value.replace(" ", "")
if value.endswith("n"):
return float(value[:-1]) / 1000000000