Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdsbalancer: switch cluster watch to generic xDS client API #6600

Merged
merged 8 commits into from
Sep 12, 2023
Merged
Prev Previous commit
Next Next commit
fix a comment for correctness
  • Loading branch information
easwars committed Sep 8, 2023
commit d6c60b290aee946cd8c422f4faa2c4d2bbd6424a
2 changes: 1 addition & 1 deletion xds/internal/balancer/cdsbalancer/cdsbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ func (b *cdsBalancer) onClusterUpdate(name string, update xdsresource.ClusterUpd
// an update to it.
childCfg := &clusterresolver.LBConfig{
DiscoveryMechanisms: dms,
// The LB policy is configured by the aggregate cluster.
// The LB policy is configured by the root cluster.
XDSLBPolicy: b.watchers[b.lbCfg.ClusterName].lastUpdate.LBPolicy,
}
cfgJSON, err := json.Marshal(childCfg)
Expand Down