File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,9 @@ impl Listener {
124124 ) -> http:: Result < hyper_migration:: HttpResponse > {
125125 debug ! ( "Received start invocation request" ) ;
126126 let ( parts, body) = req. into_parts ( ) ;
127- let hyper_migration:: Body :: Single ( body_bytes) = body else { unimplemented ! ( ) } ;
127+ let hyper_migration:: Body :: Single ( body_bytes) = body else {
128+ unimplemented ! ( )
129+ } ;
128130 match body_bytes. collect ( ) . await {
129131 Ok ( b) => {
130132 let body = b. to_bytes ( ) . to_vec ( ) ;
Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ impl TelemetryListener {
8282 req : hyper_migration:: HttpRequest ,
8383 event_bus : Sender < TelemetryEvent > ,
8484 ) -> Result < hyper_migration:: HttpResponse , hyper:: Error > {
85- let hyper_migration:: Body :: Single ( body_bytes) = req. into_body ( ) else { unimplemented ! ( ) } ;
85+ let hyper_migration:: Body :: Single ( body_bytes) = req. into_body ( ) else {
86+ unimplemented ! ( )
87+ } ;
8688 let body = match body_bytes. collect ( ) . await {
8789 Ok ( body_bytes_collected) => body_bytes_collected. to_bytes ( ) . to_vec ( ) ,
8890 Err ( e) => {
You can’t perform that action at this time.
0 commit comments