mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +00:00 
			
		
		
		
	fw/rt_param_manager: Add support for aliased parameters
Additionally check for aliases when matching runtime parameters to their corresponding cfg points.
This commit is contained in:
		| @@ -97,6 +97,6 @@ class RuntimeParameterManager(object): | ||||
|     def get_cfg_point(self, name): | ||||
|         name = caseless_string(name) | ||||
|         for k, v in self.runtime_params.items(): | ||||
|             if name == k: | ||||
|             if name == k or name in v.cfg_point.aliases: | ||||
|                 return v.cfg_point | ||||
|         raise ConfigError('Unknown runtime parameter: {}'.format(name)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user