mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #42567 from skizunov/develop3
Fix disable_<tag-name> config option
This commit is contained in:
commit
ab33517efb
1 changed files with 2 additions and 1 deletions
|
@ -1094,7 +1094,8 @@ class LazyLoader(salt.utils.lazy.LazyDict):
|
|||
virtual_funcs = []
|
||||
self.virtual_funcs = virtual_funcs
|
||||
|
||||
self.disabled = set(self.opts.get('disable_{0}s'.format(self.tag), []))
|
||||
self.disabled = set(self.opts.get('disable_{0}{1}'.format(
|
||||
self.tag, '' if self.tag[-1] == 's' else 's'), []))
|
||||
|
||||
self.refresh_file_mapping()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue