mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-05 21:02:36 +01: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:
@@ -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. """
|
||||||
|
Reference in New Issue
Block a user