Remove DNS records from infra list, v1.0.2

This commit is contained in:
2026-07-23 18:17:39 +04:00
parent f057297e42
commit f3ca2a94ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from flask import Flask
from routes.main import bp as main_bp
from routes.api import bp as api_bp
VERSION = "1.0.1"
VERSION = "1.0.2"
app = Flask(__name__, template_folder="templates", static_folder="static")
app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-dev.ngcloud.ru/api/v1/svc")
+1 -1
View File
@@ -55,7 +55,7 @@ def index():
raw_svc = get_services(client)
services = sorted(raw_svc, key=lambda s: (s.get("svcId", 0), s.get("svc", "")))
# инфраструктурные сервисы (платформа/среда)
infra_ids = {2, 12, 21, 22, 25, 26, 29, 110, 111, 150}
infra_ids = {2, 12, 21, 22, 25, 26, 29, 110, 150}
raw_inst = get_instances(client)
instances = [i for i in raw_inst
if i.get("explainedStatus") not in ("deleted", "not created")