grpc-js-xds: Pass along outlier detection config from CDS to child policy

This commit is contained in:
Michael Lumish 2023-02-10 09:56:50 -08:00
parent 54c4b9c523
commit c4350deb4f
1 changed files with 2 additions and 1 deletions

View File

@ -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