Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

fixes typo where task id was referenced before use #310

Merged
merged 1 commit into from Jul 28, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion relengapi/blueprints/archiver/__init__.py
Expand Up @@ -196,7 +196,7 @@ def get_archive(src_url, key, preferred_region):
session.commit()
else:
return {}, 500
return {}, 202, {'Location': url_for('archiver.task_status', task_id=task.id)}
return {}, 202, {'Location': url_for('archiver.task_status', task_id=task_id)}

log.info("generating GET URL to {}, expires in {}s".format(key, GET_EXPIRES_IN))
# return 302 pointing to s3 url with archive
Expand Down