1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #2809 from piffey/uri_fix

Fixed bug where if destination was unspecified, changed would not be set...
This commit is contained in:
Michael DeHaan 2013-04-29 17:24:05 -07:00
commit c554339a0f

View file

@ -394,6 +394,8 @@ def main():
file_args['path'] = dest file_args['path'] = dest
changed = module.set_file_attributes_if_different(file_args, changed) changed = module.set_file_attributes_if_different(file_args, changed)
resp['path'] = dest resp['path'] = dest
else:
changed = False
# Transmogrify the headers, replacing '-' with '_', since variables dont work with dashes. # Transmogrify the headers, replacing '-' with '_', since variables dont work with dashes.
uresp = {} uresp = {}