mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 20:38:57 +00:00
framework/pluginloader: Make sure to also clear aliases
When 'clearing' the pluginloader previously any aliases already discovered were not removed, now ensure all discovered items are removed.
This commit is contained in:
parent
30f856abe0
commit
03e5c6c0af
@ -455,6 +455,8 @@ class PluginLoader(object):
|
|||||||
""" Clear all discovered items. """
|
""" Clear all discovered items. """
|
||||||
self.plugins = {}
|
self.plugins = {}
|
||||||
self.kind_map.clear()
|
self.kind_map.clear()
|
||||||
|
self.aliases.clear()
|
||||||
|
self.global_param_aliases.clear()
|
||||||
|
|
||||||
def reload(self):
|
def reload(self):
|
||||||
""" Clear all discovered items and re-run the discovery. """
|
""" Clear all discovered items and re-run the discovery. """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user