Skip to content

Commit 99ba0b4

Browse files
authored
Fix merge of FunctionCall vars argument in FetchBuild (#1452)
1 parent a194bc6 commit 99ba0b4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.evergreen/config_generator/components/funcs/fetch_build.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ class FetchBuild(Function):
3333
]
3434

3535
@classmethod
36-
def call(cls, build_name, **kwargs):
37-
return cls.default_call(vars={'BUILD_NAME': build_name}, **kwargs)
36+
def call(cls, build_name, vars=None, **kwargs):
37+
if vars is None:
38+
vars = {}
39+
vars.update({'BUILD_NAME': build_name})
40+
return cls.default_call(vars=vars, **kwargs)
3841

3942

4043
def functions():

0 commit comments

Comments
 (0)