mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-28 17:01:44 -07: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…
Add table
Add a link
Reference in a new issue