Skip to content

Commit

Permalink
Fix typo for context function_name
Browse files Browse the repository at this point in the history
  • Loading branch information
aculnaig committed Mar 13, 2023
1 parent c91cf94 commit fa9ad07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crambda.cr
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module Crambda
end

def self.run_handler(handler : Proc(JSON::Any, Context, Object))
function_name = ENV["AWS_LAMBDA_RUNTIME_API"]
function_name = ENV["AWS_LAMBDA_FUNCTION_NAME"]
function_version = ENV["AWS_LAMBDA_FUNCTION_VERSION"]
memory_limit_in_mb = UInt32.new(ENV["AWS_LAMBDA_FUNCTION_MEMORY_SIZE"])
log_group_name = ENV["AWS_LAMBDA_LOG_GROUP_NAME"]
Expand Down

0 comments on commit fa9ad07

Please sign in to comment.