Skip to content

Commit

Permalink
Merge pull request #105 from ShyykoSerhiy/patch-1
Browse files Browse the repository at this point in the history
fix: invalid property in handleNoProcess in sample-deaggregation
  • Loading branch information
IanMeyers authored Oct 27, 2020
2 parents dcdcdfe + 6a1e617 commit 338007a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/example/sample-deaggregation.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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 " + event.Records[0].kinesis.kinesisSchemaVersion;
Expand Down

0 comments on commit 338007a

Please sign in to comment.