We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f30b82 commit 3fcf841Copy full SHA for 3fcf841
balancer/xds/xds.go
@@ -219,6 +219,9 @@ func (x *xdsBalancer) run() {
219
220
func getBalancerConfig(serviceConfig string) *xdsConfig {
221
sc := parseFullServiceConfig(serviceConfig)
222
+ if sc == nil {
223
+ return nil
224
+ }
225
var xdsConfigRaw json.RawMessage
226
for _, lbcfg := range sc.LoadBalancingConfig {
227
if lbcfg.Name == xdsName {
0 commit comments