Skip to content

Commit

Permalink
Merge pull request #2358 from murgatroid99/grpc-js-xds_pass_outlier_d…
Browse files Browse the repository at this point in the history
…etection_config

grpc-js-xds: Pass along outlier detection config from CDS to child policy
  • Loading branch information
murgatroid99 committed Feb 10, 2023
2 parents 54c4b9c + c4350de commit 82c8cf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/grpc-js-xds/src/load-balancer-cds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ function generateDiscoveryMechanismForCluster(config: Cluster__Output): Discover
lrs_load_reporting_server_name: config.lrs_server?.self ? '' : undefined,
max_concurrent_requests: maxConcurrentRequests,
type: 'EDS',
eds_service_name: config.eds_cluster_config!.service_name === '' ? undefined : config.eds_cluster_config!.service_name
eds_service_name: config.eds_cluster_config!.service_name === '' ? undefined : config.eds_cluster_config!.service_name,
outlier_detection: translateOutlierDetectionConfig(config.outlier_detection)
};
} else {
// Logical DNS cluster
Expand Down

0 comments on commit 82c8cf1

Please sign in to comment.