mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
make file envs compatible with transport format
This commit is contained in:
parent
dfa3861352
commit
0ace5c137e
@ -490,6 +490,12 @@ class Fileserver(object):
|
||||
return ret
|
||||
return list(ret)
|
||||
|
||||
def file_envs(self, load):
|
||||
'''
|
||||
Return environments for all backends for requests from fileclient
|
||||
'''
|
||||
return self.envs()
|
||||
|
||||
def init(self, back=None):
|
||||
'''
|
||||
Initialize the backend, only do so if the fs supports an init function
|
||||
|
@ -963,7 +963,7 @@ class AESFuncs(object):
|
||||
self._file_list_emptydirs = self.fs_.file_list_emptydirs
|
||||
self._dir_list = self.fs_.dir_list
|
||||
self._symlink_list = self.fs_.symlink_list
|
||||
self._file_envs = self.fs_.envs
|
||||
self._file_envs = self.fs_.file_envs
|
||||
|
||||
def __verify_minion(self, id_, token):
|
||||
'''
|
||||
|
Loading…
Reference in New Issue
Block a user