Skip to content

Commit 918ed22

Browse files
author
Justin Kufro
committed
lambda argument bugfix
1 parent 8b76c45 commit 918ed22

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/lambda_function.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
# Invoking lambda from the Ruby SDK:
3434
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#invoke_async-instance_method
3535
#
36-
def lambda_handler(event:, _context:)
36+
# rubocop:disable Lint/UnusedMethodArgument
37+
def lambda_handler(event:, context:)
3738
$logger.info(event)
3839

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

4849
$logger.info('Lambda completed successfully!')
4950
end
51+
# rubocop:enable Lint/UnusedMethodArgument
5052

5153
##
5254
# Process a S3 record that was passed via the event

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1
1+
0.1.1

0 commit comments

Comments
 (0)