mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #27696 from blueyed/load-proxy-call-_module_dirs-only-once
loader.proxy: call `_modules_dirs` only once
This commit is contained in:
commit
fc78f49dc5
1 changed files with 0 additions and 1 deletions
|
@ -254,7 +254,6 @@ def proxy(opts, functions, whitelist=None, loaded_base_name=None):
|
|||
'''
|
||||
Returns the proxy module for this salt-proxy-minion
|
||||
'''
|
||||
dirs = _module_dirs(opts, 'proxy', 'proxy')
|
||||
return LazyLoader(_module_dirs(opts, 'proxy', 'proxy'),
|
||||
opts,
|
||||
tag='proxy',
|
||||
|
|
Loading…
Add table
Reference in a new issue