Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from Nike-Inc/handle-new-cloudfront-event-format
Browse files Browse the repository at this point in the history
Handle new cloudfront event format
  • Loading branch information
sdford authored Jan 17, 2018
2 parents 3849b1f + 668c792 commit cde735d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cerberus-cloudfront-lambda/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version '1.3.0'
version '1.4.0'

dependencies {
compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.1.0'
Expand All @@ -25,4 +25,4 @@ shadowJar {

tasks.assemble.finalizedBy shadowJar

tasks.check.dependsOn jacocoTestReport
tasks.check.dependsOn jacocoTestReport
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public CloudFrontLogEvent(String logEntry) {
}
data = logEntry.split("\\t");

if (data.length != 24) {
if (data.length != 26) {
throw new IllegalArgumentException("You must supply a valid non empty CloudFront log entry, see http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html#LogFileFormat");
}
}
Expand Down

0 comments on commit cde735d

Please # to comment.