File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -793,7 +793,7 @@ extern "C" {
793
793
}
794
794
795
795
pub fn dispatch_grpc_call (
796
- upstream_name : & str ,
796
+ upstream : & [ u8 ] ,
797
797
service_name : & str ,
798
798
method_name : & str ,
799
799
initial_metadata : Vec < ( & str , & [ u8 ] ) > ,
@@ -804,8 +804,8 @@ pub fn dispatch_grpc_call(
804
804
let serialized_initial_metadata = utils:: serialize_map_bytes ( initial_metadata) ;
805
805
unsafe {
806
806
match proxy_grpc_call (
807
- upstream_name . as_ptr ( ) ,
808
- upstream_name . len ( ) ,
807
+ upstream . as_ptr ( ) ,
808
+ upstream . len ( ) ,
809
809
service_name. as_ptr ( ) ,
810
810
service_name. len ( ) ,
811
811
method_name. as_ptr ( ) ,
Original file line number Diff line number Diff line change @@ -116,15 +116,15 @@ pub trait Context {
116
116
117
117
fn dispatch_grpc_call (
118
118
& self ,
119
- upstream_name : & str ,
119
+ upstream : & [ u8 ] ,
120
120
service_name : & str ,
121
121
method_name : & str ,
122
122
initial_metadata : Vec < ( & str , & [ u8 ] ) > ,
123
123
message : Option < & [ u8 ] > ,
124
124
timeout : Duration ,
125
125
) -> Result < u32 , Status > {
126
126
hostcalls:: dispatch_grpc_call (
127
- upstream_name ,
127
+ upstream ,
128
128
service_name,
129
129
method_name,
130
130
initial_metadata,
You can’t perform that action at this time.
0 commit comments