Remove VM and Grafana from infra list
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ def index():
|
|||||||
raw_svc = get_services(client)
|
raw_svc = get_services(client)
|
||||||
services = sorted(raw_svc, key=lambda s: (s.get("svcId", 0), s.get("svc", "")))
|
services = sorted(raw_svc, key=lambda s: (s.get("svcId", 0), s.get("svc", "")))
|
||||||
# инфраструктурные сервисы (платформа/среда)
|
# инфраструктурные сервисы (платформа/среда)
|
||||||
infra_ids = {2, 12, 21, 22, 25, 26, 27, 28, 29, 110, 111, 112, 150}
|
infra_ids = {2, 12, 21, 22, 25, 26, 29, 110, 111, 150}
|
||||||
raw_inst = get_instances(client)
|
raw_inst = get_instances(client)
|
||||||
instances = [i for i in raw_inst
|
instances = [i for i in raw_inst
|
||||||
if i.get("explainedStatus") not in ("deleted", "not created")
|
if i.get("explainedStatus") not in ("deleted", "not created")
|
||||||
|
|||||||
Reference in New Issue
Block a user