xds: move "_experimental" to suffix for all balancers (#3356)
This commit is contained in:
@ -37,8 +37,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
cdsName = "experimental_cds"
|
||||
edsName = "experimental_eds"
|
||||
cdsName = "cds_experimental"
|
||||
edsName = "eds_experimental"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -175,7 +175,7 @@ func cdsCCS(cluster string, xdsClient interface{}) balancer.ClientConnState {
|
||||
const cdsLBConfig = `{
|
||||
"loadBalancingConfig":[
|
||||
{
|
||||
"experimental_cds":{
|
||||
"cds_experimental":{
|
||||
"Cluster": %s
|
||||
}
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ import (
|
||||
|
||||
const (
|
||||
defaultTimeout = 10 * time.Second
|
||||
edsName = "experimental_eds"
|
||||
edsName = "eds_experimental"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -155,7 +155,7 @@ type xdsResolver struct {
|
||||
const jsonFormatSC = `{
|
||||
"loadBalancingConfig":[
|
||||
{
|
||||
"experimental_cds":{
|
||||
"cds_experimental":{
|
||||
"Cluster": "%s"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user