File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/core/ext/filters/client_channel/lb_policy/xds Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ bool XdsDropConfig::ShouldDrop(const UniquePtr<char>** category_name) const {
66
66
return false ;
67
67
}
68
68
69
- grpc_slice XdsEdsRequestCreateAndEncode (const char * service_name ) {
69
+ grpc_slice XdsEdsRequestCreateAndEncode (const char * server_name ) {
70
70
upb::Arena arena;
71
71
// Create a request.
72
72
envoy_api_v2_DiscoveryRequest* request =
@@ -83,7 +83,7 @@ grpc_slice XdsEdsRequestCreateAndEncode(const char* service_name) {
83
83
google_protobuf_Struct_FieldsEntry_mutable_value (field, arena.ptr ());
84
84
google_protobuf_Value_set_bool_value (value, true );
85
85
envoy_api_v2_DiscoveryRequest_add_resource_names (
86
- request, upb_strview_makez (service_name ), arena.ptr ());
86
+ request, upb_strview_makez (server_name ), arena.ptr ());
87
87
envoy_api_v2_DiscoveryRequest_set_type_url (request,
88
88
upb_strview_makez (kEdsTypeUrl ));
89
89
// Encode the request.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ struct XdsUpdate {
99
99
};
100
100
101
101
// Creates an EDS request querying \a service_name.
102
- grpc_slice XdsEdsRequestCreateAndEncode (const char * service_name );
102
+ grpc_slice XdsEdsRequestCreateAndEncode (const char * server_name );
103
103
104
104
// Parses the EDS response and returns the args to update locality map. If there
105
105
// is any error, the output update is invalid.
You can’t perform that action at this time.
0 commit comments