mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #34048 from terminalmage/issue30100
RFC: proposed fix for multiple fileserver updates in masterless runs
This commit is contained in:
commit
3119693dac
1 changed files with 6 additions and 1 deletions
|
@ -723,7 +723,12 @@ class FSChan(object):
|
|||
self.kwargs = kwargs
|
||||
self.fs = Fileserver(self.opts)
|
||||
self.fs.init()
|
||||
self.fs.update()
|
||||
if self.opts.get('file_client', 'remote') == 'local':
|
||||
if '__fs_update' not in self.opts:
|
||||
self.fs.update()
|
||||
self.opts['__fs_update'] = True
|
||||
else:
|
||||
self.fs.update()
|
||||
self.cmd_stub = {'ext_nodes': {}}
|
||||
|
||||
def send(self, load, tries=None, timeout=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue