From 0068db5a9e9a9ae985cd0dbf573a2796ff099c4b Mon Sep 17 00:00:00 2001 From: andersonid Date: Tue, 30 Sep 2025 18:07:05 -0300 Subject: [PATCH] Fix remaining indentation error in routes.py --- app/api/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/routes.py b/app/api/routes.py index b923cae..ce614e0 100644 --- a/app/api/routes.py +++ b/app/api/routes.py @@ -560,7 +560,7 @@ async def get_workload_historical_metrics( if cluster_cpu_data.get("status") == "success" and cluster_cpu_data.get("data", {}).get("result"): cluster_cpu_total = float(cluster_cpu_data["data"]["result"][0]["value"][1]) - if cluster_memory_data.get("status") == "success" and cluster_memory_data.get("data", {}).get("result"): + if cluster_memory_data.get("status") == "success" and cluster_memory_data.get("data", {}).get("result"): cluster_memory_total = float(cluster_memory_data["data"]["result"][0]["value"][1]) # Check if Prometheus is available (any non-zero values)