mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #31264 from sjorge/if_missing-155-fix
fix if_missing gets appended to dirs list, take III
This commit is contained in:
commit
cec69b74f0
1 changed files with 0 additions and 2 deletions
|
@ -228,8 +228,6 @@ def extracted(name,
|
|||
if len(files) > 0:
|
||||
ret['result'] = True
|
||||
ret['changes']['directories_created'] = [name]
|
||||
if if_missing != name:
|
||||
ret['changes']['directories_created'].append(if_missing)
|
||||
ret['changes']['extracted_files'] = files
|
||||
ret['comment'] = '{0} extracted in {1}'.format(source, name)
|
||||
if not keep:
|
||||
|
|
Loading…
Add table
Reference in a new issue