mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
parent
7d940aed1f
commit
715e7af8a4
@ -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…
Reference in New Issue
Block a user