mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-19 03:10:22 -07:00
Revert "Clear the plugin path cache when adding new directories" (#17785)
This reverts commit 5a57313dd7
.
This commit is contained in:
parent
5a57313dd7
commit
670536f685
1 changed files with 0 additions and 1 deletions
|
@ -219,7 +219,6 @@ class PluginLoader:
|
||||||
if directory not in self._extra_dirs:
|
if directory not in self._extra_dirs:
|
||||||
# append the directory and invalidate the path cache
|
# append the directory and invalidate the path cache
|
||||||
self._extra_dirs.append(directory)
|
self._extra_dirs.append(directory)
|
||||||
self._plugin_path_cache.clear()
|
|
||||||
self._paths = None
|
self._paths = None
|
||||||
|
|
||||||
def find_plugin(self, name, mod_type=''):
|
def find_plugin(self, name, mod_type=''):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue