mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove extra call to salt.loader.utils.
This commit is contained in:
parent
f4ba89735c
commit
9a86fddfa1
1 changed files with 1 additions and 2 deletions
|
@ -111,12 +111,11 @@ class Engine(SignalHandlingMultiprocessingProcess):
|
|||
'''
|
||||
if salt.utils.is_windows():
|
||||
# Calculate function references since they can't be pickled.
|
||||
self.utils = salt.loader.utils(self.opts)
|
||||
self.utils = salt.loader.utils(self.opts, proxy=self.proxy)
|
||||
if self.opts['__role'] == 'master':
|
||||
self.runners = salt.loader.runner(self.opts, utils=self.utils)
|
||||
else:
|
||||
self.runners = []
|
||||
self.utils = salt.loader.utils(self.opts, proxy=self.proxy)
|
||||
self.funcs = salt.loader.minion_mods(self.opts, utils=self.utils, proxy=self.proxy)
|
||||
|
||||
self.engine = salt.loader.engines(self.opts,
|
||||
|
|
Loading…
Add table
Reference in a new issue