don't force env vars fixes #2048
This commit is contained in:
parent
7ba2a4b27b
commit
77a916e1a8
|
@ -177,8 +177,7 @@ class CheckRunnerGetSerializer(serializers.ModelSerializer):
|
||||||
return Script.parse_script_env_vars(
|
return Script.parse_script_env_vars(
|
||||||
agent=agent,
|
agent=agent,
|
||||||
shell=obj.script.shell,
|
shell=obj.script.shell,
|
||||||
env_vars=obj.env_vars
|
env_vars=obj.env_vars,
|
||||||
or obj.script.env_vars, # check's env_vars override the script's env vars
|
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in New Issue