From d7a687d30c6fba3cb34bef72692d592956913952 Mon Sep 17 00:00:00 2001 From: Tlams Date: Tue, 20 Mar 2018 17:16:34 +0000 Subject: [PATCH] Change status if not found (pve-version) --- code/scripts/main/core/modules/mod_analyst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/scripts/main/core/modules/mod_analyst.py b/code/scripts/main/core/modules/mod_analyst.py index 8167cbb..a90522c 100644 --- a/code/scripts/main/core/modules/mod_analyst.py +++ b/code/scripts/main/core/modules/mod_analyst.py @@ -192,7 +192,7 @@ class Analyse: try: node_status["status"] = value_nodes_list["status"] except BaseException: - node_status["status"] = "Online" + node_status["status"] = "Unknown" percent_cpu_alloc = (totalcpu / value_nodes_list["maxcpu"]) * 100 percent_ram_alloc = (totalram / value_nodes_list["mem"]) * 100