Skip to content

Commit 75b1832

Browse files
authored
Fix APPSIGNAL_ACTIVEJOB_REPORT_ERRORS var naming (#1103)
The config option is `activejob_report_errors`, but the env var had an underscore between "ACTIVE" and "JOB". We never documented the env var, so we can hopefully stealth fix this without requiring a backwards compatibility change. After this name change, let's document the env var. [skip changeset]
1 parent 661b8e0 commit 75b1832

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/appsignal/config.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Config
6767

6868
ENV_TO_KEY_MAPPING = {
6969
"APPSIGNAL_ACTIVE" => :active,
70-
"APPSIGNAL_ACTIVE_JOB_REPORT_ERRORS" => :activejob_report_errors,
70+
"APPSIGNAL_ACTIVEJOB_REPORT_ERRORS" => :activejob_report_errors,
7171
"APPSIGNAL_APP_NAME" => :name,
7272
"APPSIGNAL_BIND_ADDRESS" => :bind_address,
7373
"APPSIGNAL_CA_FILE_PATH" => :ca_file_path,
@@ -117,7 +117,7 @@ class Config
117117
}.freeze
118118
# @api private
119119
ENV_STRING_KEYS = %w[
120-
APPSIGNAL_ACTIVE_JOB_REPORT_ERRORS
120+
APPSIGNAL_ACTIVEJOB_REPORT_ERRORS
121121
APPSIGNAL_APP_NAME
122122
APPSIGNAL_BIND_ADDRESS
123123
APPSIGNAL_CA_FILE_PATH

0 commit comments

Comments
 (0)