Merge pull request 'fix' (#52) from master into dev

Reviewed-on: https://gitea.sprinthub.ru/self/certupdater/pulls/52
This commit was merged in pull request #52.
This commit is contained in:
2025-06-12 02:25:31 +03:00

View File

@@ -52,6 +52,7 @@ def get_hosts() -> list[str]:
f"http://configurator/api/v1/fetch?project=certupdater&stage={os.getenv("STAGE")}"
).json()
hosts = response["configs"]["hosts"]
print(f"got hosts {hosts}")
return list(hosts)