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

Reviewed-on: #79
This commit is contained in:
emmatveev 2025-06-10 00:41:52 +03:00
commit 7e4b38e9da

View File

@ -3,6 +3,7 @@ import os
from minio import Minio
def main():
minio_client = Minio(
"minio.develop.sprinthub.ru:9000",
access_key="serviceminioadmin",
@ -50,3 +51,9 @@ for host, params in hosts.items():
with open('/etc/nginx/hosts.conf', 'w') as fp:
fp.write(config)
try:
main()
except Exception as e:
print(e)