Merge pull request #13467 from bcoca/adhoc_callbk_fix
adhoc does not load plugins by default
This commit is contained in:
commit
50e5b0f8e9
1 changed files with 3 additions and 0 deletions
|
@ -163,6 +163,9 @@ class AdHocCLI(CLI):
|
|||
else:
|
||||
cb = 'minimal'
|
||||
|
||||
if not C.DEFAULT_LOAD_CALLBACK_PLUGINS:
|
||||
C.DEFAULT_CALLBACK_WHITELIST = []
|
||||
|
||||
if self.options.tree:
|
||||
C.DEFAULT_CALLBACK_WHITELIST.append('tree')
|
||||
C.TREE_DIR = self.options.tree
|
||||
|
|
Loading…
Reference in a new issue