mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
framework/config: fix section-level workload args
create a copy of the args dict before popping args off of it to make sure it is intact when the next job is processed.
This commit is contained in:
parent
4201193ffc
commit
d7da24eb52
@ -970,8 +970,8 @@ class JobSpec(Configuration):
|
||||
|
||||
cfg_points = plugin_cache.get_plugin_parameters(self.workload_name)
|
||||
for source in self._sources:
|
||||
config = self.to_merge["workload_parameters"].get(source)
|
||||
if config is None:
|
||||
config = dict(self.to_merge["workload_parameters"].get(source, {}))
|
||||
if not config:
|
||||
continue
|
||||
|
||||
for name, cfg_point in cfg_points.iteritems():
|
||||
|
Loading…
x
Reference in New Issue
Block a user