xds: move "_experimental" to suffix for all balancers (#3356)

This commit is contained in:
Menghan Li
2020-02-03 15:39:32 -08:00
committed by GitHub
parent 77bc3d3983
commit e0e0cbc795
5 changed files with 6 additions and 6 deletions

View File

@ -37,8 +37,8 @@ import (
)
const (
cdsName = "experimental_cds"
edsName = "experimental_eds"
cdsName = "cds_experimental"
edsName = "eds_experimental"
)
var (

View File

@ -175,7 +175,7 @@ func cdsCCS(cluster string, xdsClient interface{}) balancer.ClientConnState {
const cdsLBConfig = `{
"loadBalancingConfig":[
{
"experimental_cds":{
"cds_experimental":{
"Cluster": %s
}
}

View File

@ -38,7 +38,7 @@ import (
const (
defaultTimeout = 10 * time.Second
edsName = "experimental_eds"
edsName = "eds_experimental"
)
var (

View File

@ -36,7 +36,7 @@ func init() {
}
// xdsBalancerBuilder register edsBalancerBuilder (now with name
// "experimental_eds") under the old name "xds_experimental".
// "eds_experimental") under the old name "xds_experimental".
type xdsBalancerBuilder struct {
edsBalancerBuilder
}

View File

@ -155,7 +155,7 @@ type xdsResolver struct {
const jsonFormatSC = `{
"loadBalancingConfig":[
{
"experimental_cds":{
"cds_experimental":{
"Cluster": "%s"
}
}