8000 Fix typo in dynamic ESM deprecation warning (#11735) · localstack/localstack@ec217fe · GitHub
[go: up one dir, main page]

Skip to content

Commit ec217fe

Browse files
authored
Fix typo in dynamic ESM deprecation warning (#11735)
1 parent 62a302c commit ec217fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

localstack-core/localstack/deprecations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def log_deprecation_warnings(deprecations: Optional[List[EnvVarDeprecation]] = N
324324

325325
feature_override_lambda_esm = os.environ.get("LAMBDA_EVENT_SOURCE_MAPPING")
326326
if feature_override_lambda_esm and feature_override_lambda_esm in ["v1", "legacy"]:
327-
env_var_value = f"PROVIDER_OVERRIDE_LAMBDA={feature_override_lambda_esm}"
327+
env_var_value = f"LAMBDA_EVENT_SOURCE_MAPPING={feature_override_lambda_esm}"
328328
deprecation_version = "3.8.0"
329329
deprecation_path = (
330330
f"Remove {env_var_value} to use the new Lambda Event Source Mapping implementation."

0 commit comments

Comments
 (0)
0