Skip to content

Commit

Permalink
pass load on
Browse files Browse the repository at this point in the history
  • Loading branch information
gtmanfred committed Aug 29, 2018
1 parent be7c041 commit 251f321
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions salt/fileserver/__init__.py
Expand Up @@ -490,11 +490,13 @@ def envs(self, back=None, sources=False):
return ret
return list(ret)

def file_envs(self, load):
def file_envs(self, load=None):
'''
Return environments for all backends for requests from fileclient
'''
return self.envs()
if load is None:
load = {}
return self.envs(**load)

def init(self, back=None):
'''
Expand Down

0 comments on commit 251f321

Please sign in to comment.