Skip to content

Commit

Permalink
fix: manifest file formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
roleyfoley committed Feb 10, 2021
1 parent e57fd23 commit 1d6f52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3-inventory-copy/src/lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def s3event_lambda_handler(event, context):
# Only trigger a new batch operation when we have a new checksum
if key.endswith('manifest.checksum') and event == 'ObjectCreated:Put':

manifest_key = os.path.splitext(key) + '.json'
manifest_key = os.path.splitext(key)[0] + '.json'
manifest_arn = bucket_arn + os.path.abspath(manifest_key)
manifest_details = s3Client.head_object(
Bucket=bucket,
Expand Down

0 comments on commit 1d6f52f

Please sign in to comment.