mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
commands/run: Update run output with final run config
The RunInfo object in the run output is initally created before the config has been fully parsed therefore attributes for the project and run name are never updated, once the config has been finalized make sure to update the relavant information.
This commit is contained in:
parent
98727bce30
commit
7c3054b54b
@ -112,6 +112,11 @@ class RunCommand(Command):
|
||||
'by running "wa list workloads".'
|
||||
raise ConfigError(msg.format(args.agenda))
|
||||
|
||||
# Update run info with newly parsed config values
|
||||
output.info.project = config.run_config.project
|
||||
output.info.project_stage = config.run_config.project_stage
|
||||
output.info.run_name = config.run_config.run_name
|
||||
|
||||
executor = Executor()
|
||||
executor.execute(config, output)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user