Skip to content
Permalink
Browse files

fix target prefix to properly include hour

  • Loading branch information...
ThatJoeMoore committed Jul 2, 2018
1 parent 9643827 commit bba8f57cd5b1fd0e0bb357abca40caceedf870af
Showing with 1 addition and 1 deletion.
  1. +1 −1 log-analyzer/sorter-lambda/src/lambda.ts
@@ -38,7 +38,7 @@ export async function handler(event: S3Event) {
console.warn('File in wrong location in S3:', object.key);
}

const targetPrefix = `${PREPROCESSED_PREFIX}/${eventTime.toFormat('yyyy-LL/dd/HH')}`;
const targetPrefix = `${PREPROCESSED_PREFIX}/${eventTime.toFormat('yyyy-LL/dd/HH')}:00/`;

const sourceKey = object.key;

0 comments on commit bba8f57

Please sign in to comment.
You can’t perform that action at this time.