mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
changes needs to be a dictionary.
This commit is contained in:
parent
ac950b34c8
commit
7c4abd6d6e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue