mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 04:12:48 +00:00
Remove erroneous set of status_code causing a traceback in module uri
Fixes #7416
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user