Skip to content

Commit 812f32b

Browse files
committed
Renamed config module name to the global name (#129)
sdk_config_module to global_sdk_config
1 parent ae06e28 commit 812f32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_xray_sdk/core/lambda_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def put_subsegment(self, subsegment):
7171
current_entity = self.get_trace_entity()
7272

7373
if not self._is_subsegment(current_entity) and current_entity.initializing:
74-
if sdk_config_module.sdk_enabled():
74+
if global_sdk_config.sdk_enabled():
7575
log.warning("Subsegment %s discarded due to Lambda worker still initializing" % subsegment.name)
7676
return
7777

0 commit comments

Comments
 (0)