mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
update ret['changes'] for test-run
This commit is contained in:
parent
22655221ca
commit
22e1eb2a4d
@ -167,6 +167,7 @@ def present(name, bare=True, runas=None, force=False):
|
||||
|
||||
# Run test is set
|
||||
if __opts__['test']:
|
||||
ret['changes']['new repository'] = name
|
||||
return _neutral_test(ret, 'New git repo set for creation at {0}'.format(name))
|
||||
|
||||
if os.path.isdir(name) and force:
|
||||
|
Loading…
Reference in New Issue
Block a user