Skip to content

Commit

Permalink
Merge pull request #106 from ShyykoSerhiy/patch-2
Browse files Browse the repository at this point in the history
fix: invalid property in handleNoProcess in sample-aggregation
  • Loading branch information
IanMeyers authored Oct 27, 2020
2 parents 7eb3a40 + 41ee24f commit dcdcdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/example/sample-aggregation.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var handleNoProcess = function (event, callback) {
noProcessReason = "Event contains no Data";
}
if (event.Records[0].eventSource !== "aws:kinesis") {
noProcessReason = "Invalid Event Source " + event.eventSource;
noProcessReason = "Invalid Event Source " + event.Records[0].eventSource;
}
if (event.Records[0].kinesis.kinesisSchemaVersion !== "1.0") {
noProcessReason = "Unsupported Event Schema Version " +
Expand Down

0 comments on commit dcdcdfe

Please sign in to comment.