Remove unused flag

The 'include_errors' option does nothing and has been removed.
This commit is contained in:
Mike Place 2016-11-07 13:20:34 +13:00
parent 2422dafd52
commit 6c705b11e0
No known key found for this signature in database
GPG key ID: 9136F4F13705CFD3
2 changed files with 1 additions and 4 deletions

View file

@ -164,7 +164,6 @@ def minion_mods(
context=None,
utils=None,
whitelist=None,
include_errors=False,
initial_load=False,
loaded_base_name=None,
notify=False,
@ -187,7 +186,6 @@ def minion_mods(
configuration.
:param list whitelist: A list of modules which should be whitelisted.
:param bool include_errors: Deprecated flag! Unused.
:param bool initial_load: Deprecated flag! Unused.
:param str loaded_base_name: A string marker for the loaded base name.
:param bool notify: Flag indicating that an event should be fired upon

View file

@ -649,8 +649,7 @@ class SMinion(MinionBase):
pillarenv=self.opts.get('pillarenv'),
).compile_pillar()
self.utils = salt.loader.utils(self.opts)
self.functions = salt.loader.minion_mods(self.opts, utils=self.utils,
include_errors=True)
self.functions = salt.loader.minion_mods(self.opts, utils=self.utils)
self.serializers = salt.loader.serializers(self.opts)
self.returners = salt.loader.returners(self.opts, self.functions)
self.proxy = salt.loader.proxy(self.opts, self.functions, self.returners, None)