mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #49527 from terminalmage/remove-special-envs-handling
Remove special handling for file_envs fileserver func
This commit is contained in:
commit
75a3b52215
1 changed files with 0 additions and 2 deletions
|
@ -897,8 +897,6 @@ class FSChan(object):
|
|||
cmd = load['cmd'].lstrip('_')
|
||||
if cmd in self.cmd_stub:
|
||||
return self.cmd_stub[cmd]
|
||||
if cmd == 'file_envs':
|
||||
return self.fs.envs()
|
||||
if not hasattr(self.fs, cmd):
|
||||
log.error('Malformed request, invalid cmd: {0}'.format(load))
|
||||
return {}
|
||||
|
|
Loading…
Add table
Reference in a new issue