mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
tweaking
This commit is contained in:
parent
d2bfa95018
commit
d9dcb84fe3
2 changed files with 2 additions and 1 deletions
|
@ -2236,7 +2236,7 @@ class State(object):
|
|||
fun_stats = set()
|
||||
for r_state, chunks in six.iteritems(reqs):
|
||||
req_stats = set()
|
||||
if r_state.startswith(u'prereq'):
|
||||
if r_state == u'prereq':
|
||||
run_dict = self.pre
|
||||
else:
|
||||
run_dict = running
|
||||
|
|
|
@ -844,6 +844,7 @@ class StateModuleTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
result = self.normalize_ret(ret)
|
||||
self.assertEqual(expected_result_simple, result)
|
||||
|
||||
log.error('=== ret {} ==='.format(ret))
|
||||
return
|
||||
# same test, but not using lists in yaml syntax
|
||||
# TODO: issue #8235, prereq ignored when not used in list syntax
|
||||
|
|
Loading…
Add table
Reference in a new issue