Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion dss/stepfunctions/s3copyclient/implementation.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ def setup_copy_task(event, lambda_context):
event[_Key.UPLOAD_ID] = mpu['UploadId']
event[Key.FINISHED] = False
else:
s3_blobstore.copy(source_bucket, source_key, destination_bucket, destination_key)
s3_blobstore.copy(source_bucket,
source_key,
destination_bucket,
destination_key,
# TODO: change to "content_type" to be consistent with cloud_blobstore syntax?
ContentType=blobinfo['ContentType'])
event[_Key.UPLOAD_ID] = None
event[Key.FINISHED] = True
event[Key.CONTENT_TYPE] = blobinfo['ContentType']
Expand Down