From 918ed22767050939f744a1277b152f16c8e57904 Mon Sep 17 00:00:00 2001 From: Justin Kufro Date: Wed, 23 Jun 2021 12:55:01 -0600 Subject: [PATCH] lambda argument bugfix --- src/lambda_function.rb | 4 +++- version | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lambda_function.rb b/src/lambda_function.rb index 3c19ba4..baeccd6 100644 --- a/src/lambda_function.rb +++ b/src/lambda_function.rb @@ -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) @@ -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 diff --git a/version b/version index ceab6e1..6da28dd 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.1 \ No newline at end of file +0.1.1 \ No newline at end of file