We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5daa479 + f78f123 commit f30ad8bCopy full SHA for f30ad8b
app/main.py
@@ -17,7 +17,7 @@ def replace_env_variables_in_app_yaml_file():
17
18
for key in yaml_data["env_variables"]:
19
env_var = yaml_data["env_variables"][key]
20
- if env_var.startswith("$"):
+ if type(env_var) is str and env_var.startswith("$"):
21
repl_env_var = os.environ.get(env_var[1:])
22
if repl_env_var is not None:
23
yaml_data["env_variables"][key] = repl_env_var
0 commit comments