mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-18 16:50:45 +01:00
configuration/plugin_cache: Add target names as allowed plugin configs
Allow setting of device configuration by specifying target name.
This commit is contained in:
parent
52dca17fef
commit
ed75764445
@ -80,6 +80,7 @@ class PluginCache(object):
|
|||||||
raise RuntimeError(msg.format(source))
|
raise RuntimeError(msg.format(source))
|
||||||
|
|
||||||
if (not self.loader.has_plugin(plugin_name) and
|
if (not self.loader.has_plugin(plugin_name) and
|
||||||
|
plugin_name not in self.targets and
|
||||||
plugin_name not in GENERIC_CONFIGS):
|
plugin_name not in GENERIC_CONFIGS):
|
||||||
msg = 'configuration provided for unknown plugin "{}"'
|
msg = 'configuration provided for unknown plugin "{}"'
|
||||||
raise ConfigError(msg.format(plugin_name))
|
raise ConfigError(msg.format(plugin_name))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user