make file envs compatible with transport format

This commit is contained in:
Daniel Wallace 2018-08-28 21:09:10 -05:00
parent dfa3861352
commit 0ace5c137e
No known key found for this signature in database
GPG Key ID: 5FA5E5544F010D48
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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):
'''