mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00: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))
|
||||
|
||||
if (not self.loader.has_plugin(plugin_name) and
|
||||
plugin_name not in self.targets and
|
||||
plugin_name not in GENERIC_CONFIGS):
|
||||
msg = 'configuration provided for unknown plugin "{}"'
|
||||
raise ConfigError(msg.format(plugin_name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user