Skip to content

Commit 3fcf841

Browse files
committed
ffffffffff
1 parent 4f30b82 commit 3fcf841

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

balancer/xds/xds.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ func (x *xdsBalancer) run() {
219219

220220
func getBalancerConfig(serviceConfig string) *xdsConfig {
221221
sc := parseFullServiceConfig(serviceConfig)
222+
if sc == nil {
223+
return nil
224+
}
222225
var xdsConfigRaw json.RawMessage
223226
for _, lbcfg := range sc.LoadBalancingConfig {
224227
if lbcfg.Name == xdsName {

0 commit comments

Comments
 (0)