File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
benchmarks/appsec_iast_propagation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55from ddtrace .appsec .iast ._taint_tracking import OriginType
66from ddtrace .appsec .iast ._taint_tracking import Source
77from ddtrace .appsec .iast ._taint_tracking import TaintRange
8- from ddtrace .appsec .iast ._taint_tracking import contexts_reset
98from ddtrace .appsec .iast ._taint_tracking import create_context
9+ from ddtrace .appsec .iast ._taint_tracking import reset_context
1010from ddtrace .appsec .iast ._taint_tracking import set_ranges
1111from ddtrace .appsec .iast ._taint_tracking .aspects import add_aspect
1212from ddtrace .appsec .iast ._taint_tracking .aspects import join_aspect
@@ -50,7 +50,7 @@ def aspect_function(internal_loop, tainted):
5050
5151def new_request (enable_propagation ):
5252 tainted = b"my_string" .decode ("ascii" )
53- contexts_reset ()
53+ reset_context ()
5454 create_context ()
5555
5656 if enable_propagation :
You can’t perform that action at this time.
0 commit comments