Skip to content

Commit 5dee8b0

Browse files
committed
Use config.
1 parent 8ae4c98 commit 5dee8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def patch_all():
2929
"""
3030
_patch_for_integration_tests()
3131

32-
if dd_tracing_enabled:
32+
if config.trace_enabled:
3333
patch_all_dd()
3434
else:
3535
_patch_http()

0 commit comments

Comments
 (0)