mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38106 from techhat/stateget
"test" is not necessarily in opts, for thorium
This commit is contained in:
commit
4d072ca689
1 changed files with 1 additions and 1 deletions
|
@ -1818,7 +1818,7 @@ class State(object):
|
|||
Check if the low data chunk should send a failhard signal
|
||||
'''
|
||||
tag = _gen_tag(low)
|
||||
if self.opts['test']:
|
||||
if self.opts.get('test', False):
|
||||
return False
|
||||
if (low.get('failhard', False) or self.opts['failhard']
|
||||
and tag in running):
|
||||
|
|
Loading…
Add table
Reference in a new issue