Fix config generation for chaos deployments

This commit is contained in:
Moritz 2024-03-19 17:08:14 +01:00
parent 3b062342e5
commit 677d0698df
1 changed files with 2 additions and 0 deletions

View File

@ -462,6 +462,8 @@ def config(apps):
path = get_env_path(server, domain)
version = app_config.get('version')
print(f'Setup {app} ({version}) config on {server} at {domain}')
if version in ['chaos', None]:
version = ''
new_app(app, domain, server, version)
logging.info(f'set configs for {app} at {instance}')
update_configs(path, app_config)