Skip to content

Commit

Permalink
[xds] Support for multiple XdsClient instances
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneo committed Jan 24, 2024
1 parent 75973ec commit 6cd3e90
Show file tree
Hide file tree
Showing 11 changed files with 435 additions and 21 deletions.
173 changes: 173 additions & 0 deletions CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions build_autogenerated.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,8 @@ void XdsResolver::ClusterSelectionFilter::Call::OnClientInitialMetadata(
//

void XdsResolver::StartLocked() {
auto xds_client = GrpcXdsClient::GetOrCreate(args_, "xds resolver");
auto xds_client =
GrpcXdsClient::GetOrCreate(data_plane_authority_, args_, "xds resolver");
if (!xds_client.ok()) {
gpr_log(GPR_ERROR,
"Failed to create xds client -- channel will remain in "
Expand Down
Loading

0 comments on commit 6cd3e90

Please sign in to comment.