EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit bbaffdfc authored by Mussab Abdalla's avatar Mussab Abdalla
Browse files

fixing swift config fetching in registrar

parent 6d167c43
No related branches found
No related tags found
1 merge request!61Staging to master 1.3.0
......@@ -20,9 +20,13 @@ def constructor_env_variables(loader, node):
if match:
full_value = value
for g in match:
full_value = full_value.replace(
f'${{{g}}}', os.environ.get(g, g)
)
env_variable = os.environ.get(g, )
if env_variable is not None:
full_value = full_value.replace(
f'${{{g}}}', env_variable
)
else:
return None
return full_value
return value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment