mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix for mock state PR #30118
This commit is contained in:
parent
f9480f66d8
commit
70681bf03b
1 changed files with 3 additions and 4 deletions
|
@ -133,10 +133,9 @@ class MockState(object):
|
|||
flag = False
|
||||
opts = {'state_top': ""}
|
||||
|
||||
def __init__(self, opts, pillar=None, kwargs=None):
|
||||
pillar = pillar
|
||||
kwargs = kwargs
|
||||
self.state = MockState.State(opts)
|
||||
def __init__(self, opts, pillar=None, mocked=None):
|
||||
self.state = MockState.State(opts,
|
||||
pillar=pillar)
|
||||
|
||||
def render_state(self, sls, saltenv, mods, matches, local=False):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue