mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add changes to test return
This commit is contained in:
parent
d89c317d96
commit
d3d00c3e62
1 changed files with 1 additions and 0 deletions
|
@ -2258,6 +2258,7 @@ def directory(name,
|
|||
if __opts__['test']:
|
||||
ret['result'] = presult
|
||||
ret['comment'] = pcomment
|
||||
ret['changes'] = ret['pchanges']
|
||||
return ret
|
||||
|
||||
if not os.path.isdir(name):
|
||||
|
|
Loading…
Add table
Reference in a new issue