Skip to content

Commit

Permalink
fix(trigger.py): Fix build config parameter overwrite
Browse files Browse the repository at this point in the history
We should not overwrite original build config, so on
next iteration we fetch fresh NIPA branch.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
  • Loading branch information
nuclearcat committed Feb 24, 2025
1 parent 103c38d commit 34a184d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ def _iterate_build_configs(self, force, build_configs_list,
timeout, trees):
for name, config in self._build_configs.items():
if not build_configs_list or name in build_configs_list:
self._run_trigger(config, force, timeout, trees)
cfg_copy = config.copy()
self._run_trigger(cfg_copy, force, timeout, trees)

def _setup(self, args):
return {
Expand Down

0 comments on commit 34a184d

Please sign in to comment.