mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
changes needs to be a dictionary.
This commit is contained in:
parent
ac950b34c8
commit
7c4abd6d6e
@ -2767,7 +2767,7 @@ def managed(name,
|
||||
reset=win_perms_reset)
|
||||
except CommandExecutionError as exc:
|
||||
if exc.strerror.startswith('Path not found'):
|
||||
ret['changes'] = '{0} will be created'.format(name)
|
||||
ret['changes'] = {name: 'will be created'}
|
||||
|
||||
if isinstance(ret['changes'], tuple):
|
||||
ret['result'], ret['comment'] = ret['changes']
|
||||
|
Loading…
Reference in New Issue
Block a user