fix #51
2
main.py
2
main.py
@ -50,7 +50,7 @@ def call(command: str) -> Response:
|
|||||||
def get_hosts() -> list[str]:
|
def get_hosts() -> list[str]:
|
||||||
response = get(
|
response = get(
|
||||||
f"http://configurator/api/v1/fetch?project=certupdater&stage={os.getenv("STAGE")}"
|
f"http://configurator/api/v1/fetch?project=certupdater&stage={os.getenv("STAGE")}"
|
||||||
)
|
).json()
|
||||||
hosts = response["configs"]["hosts"]
|
hosts = response["configs"]["hosts"]
|
||||||
return list(hosts)
|
return list(hosts)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user