mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
grpc-js-xds: Pass along outlier detection config from CDS to child policy
This commit is contained in:
parent
54c4b9c523
commit
c4350deb4f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user