File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -93,29 +93,28 @@ impl HttpExecutor for WasiHttpExecutor<'_> {
93
93
HandlerType :: Wagi ( _) => unreachable ! ( "should have used WagiExecutor instead" ) ,
94
94
} ;
95
95
96
- let span = tracing:: debug_span!( "execute_wasi" ) ;
97
96
let handle = task:: spawn (
98
97
async move {
99
98
let result = match handler {
100
99
Handler :: Latest ( handler) => {
101
100
handler
102
101
. wasi_http_incoming_handler ( )
103
102
. call_handle ( & mut store, request, response)
104
- . instrument ( span )
103
+ . in_current_span ( )
105
104
. await
106
105
}
107
106
Handler :: Handler2023_10_18 ( handler) => {
108
107
handler
109
108
. wasi_http0_2_0_rc_2023_10_18_incoming_handler ( )
110
109
. call_handle ( & mut store, request, response)
111
- . instrument ( span )
110
+ . in_current_span ( )
112
111
. await
113
112
}
114
113
Handler :: Handler2023_11_10 ( handler) => {
115
114
handler
116
115
. wasi_http0_2_0_rc_2023_11_10_incoming_handler ( )
117
116
. call_handle ( & mut store, request, response)
118
- . instrument ( span )
117
+ . in_current_span ( )
119
118
. await
120
119
}
121
120
} ;
You can’t perform that action at this time.
0 commit comments