mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Change return value for salt/states/augeas.py to be True instead of None for cases where salt is run with test=True. Fixes #37870
This commit is contained in:
parent
ea935c5a91
commit
b0fe0cd256
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ def change(name, context=None, changes=None, lens=None,
|
|||
filename = re.sub('^/files|/$', '', context)
|
||||
|
||||
if __opts__['test']:
|
||||
ret['result'] = None
|
||||
ret['result'] = True
|
||||
ret['comment'] = 'Executing commands'
|
||||
if context:
|
||||
ret['comment'] += ' in file "{0}":\n'.format(context)
|
||||
|
|
Loading…
Add table
Reference in a new issue