Skip to content

Commit

Permalink
serverless don't freeze a regex constant
Browse files Browse the repository at this point in the history
removed redundant freezing
  • Loading branch information
fallwith committed Aug 16, 2024
1 parent 839bb1b commit f3768db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_relic/agent/serverless_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ServerlessHandler
SUPPORTABILITY_METRIC = 'Supportability/AWSLambda/HandlerInvocation'
FUNCTION_NAME = 'lambda_function'
PAYLOAD_VERSION = ENV.fetch('NEW_RELIC_SERVERLESS_PAYLOAD_VERSION', 2)
DIGIT = /\d/.freeze
DIGIT = /\d/
EVENT_SOURCES = NewRelic::Agent::ServerlessHandlerEventSources.to_hash

def self.env_var_set?
Expand Down

0 comments on commit f3768db

Please sign in to comment.