1
0
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:
Sergei Trofimov 2017-11-24 16:29:16 +00:00 committed by marcbonnici
parent 4201193ffc
commit d7da24eb52

View File

@ -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():