mirror of
https://github.com/saltstack/salt.git
synced 2025-04-14 08:40:20 +00:00
Test
This commit is contained in:
parent
48749b15bc
commit
67aa84a54c
1 changed files with 2 additions and 1 deletions
|
@ -1225,7 +1225,8 @@ class LazyLoader(salt.utils.lazy.LazyDict):
|
|||
Run the `_func_or_method` in this loader's context
|
||||
"""
|
||||
self._last_context = contextvars.copy_context()
|
||||
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
|
||||
return self._run_as(_func_or_method, *args, **kwargs)
|
||||
#return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
|
||||
|
||||
def _run_as(self, _func_or_method, *args, **kwargs):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue