mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove erroneous set of status_code causing a traceback in module uri
Fixes #7416
This commit is contained in:
parent
a992dc88ba
commit
e3ee7787ed
1 changed files with 0 additions and 1 deletions
|
@ -406,7 +406,6 @@ def main():
|
|||
# Write the file out if requested
|
||||
if dest is not None:
|
||||
if resp['status'] == 304:
|
||||
status_code = 304
|
||||
changed = False
|
||||
else:
|
||||
write_file(module, url, dest, content)
|
||||
|
|
Loading…
Reference in a new issue