Fix key name from Settings

This commit is contained in:
Petr Kalis 2024-07-24 11:27:29 +02:00
parent 09c9ef9781
commit f473e987df

View file

@ -64,6 +64,6 @@ class FilterFarmEnvironments(PreLaunchHook):
def _skip_environment_variables(self, calculated_env, matching_profile):
"""Skips list of environment variable names"""
for skip_env in matching_profile["skip_environment"]:
for skip_env in matching_profile["skip_env_keys"]:
self.log.info(f"Skipping {skip_env}")
calculated_env.pop(skip_env)