mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix regression in archive.extracted when it runs file.directory
This is similar to the change made in 28651a6
, we no longer need this
code since we're invoking the state function directly instead of via the
state compiler.
This commit is contained in:
parent
d0440e2a2a
commit
0285ff3c7d
1 changed files with 0 additions and 4 deletions
|
@ -1333,10 +1333,6 @@ def extracted(name,
|
|||
group=group,
|
||||
recurse=recurse,
|
||||
test=__opts__['test'])
|
||||
try:
|
||||
dir_result = dir_result[next(iter(dir_result))]
|
||||
except AttributeError:
|
||||
pass
|
||||
log.debug('file.directory: %s', dir_result)
|
||||
|
||||
if __opts__['test']:
|
||||
|
|
Loading…
Add table
Reference in a new issue