Skip to content

Commit

Permalink
lambda argument bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Kufro committed Jun 23, 2021
1 parent 8b76c45 commit 918ed22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/lambda_function.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
# Invoking lambda from the Ruby SDK:
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#invoke_async-instance_method
#
def lambda_handler(event:, _context:)
# rubocop:disable Lint/UnusedMethodArgument
def lambda_handler(event:, context:)
$logger.info(event)

validate_variables(event)
Expand All @@ -47,6 +48,7 @@ def lambda_handler(event:, _context:)

$logger.info('Lambda completed successfully!')
end
# rubocop:enable Lint/UnusedMethodArgument

##
# Process a S3 record that was passed via the event
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1
0.1.1

0 comments on commit 918ed22

Please sign in to comment.