You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xds: resubmit xds client pool changes from grpc#7898 along with fix to set fallback bootstrap config from googledirectpath to xdsclient pool (grpc#8050)
returnnil, fmt.Errorf("xds: failed to read bootstrap config from file %q: %v", fName, err)
599
595
}
600
-
returnnewConfigFromContents(cfg)
596
+
returnNewConfigFromContents(cfg)
601
597
}
602
598
603
599
iffContent!="" {
604
600
iflogger.V(2) {
605
601
logger.Infof("Using bootstrap contents from GRPC_XDS_BOOTSTRAP_CONFIG environment variable")
606
602
}
607
-
returnnewConfigFromContents([]byte(fContent))
608
-
}
609
-
610
-
ifcfg:=fallbackBootstrapConfig(); cfg!=nil {
611
-
iflogger.V(2) {
612
-
logger.Infof("Using bootstrap contents from fallback config")
613
-
}
614
-
returncfg, nil
603
+
returnNewConfigFromContents([]byte(fContent))
615
604
}
616
605
617
-
returnnil, fmt.Errorf("bootstrap environment variables (%q or %q) not defined, and no fallback config set", envconfig.XDSBootstrapFileNameEnv, envconfig.XDSBootstrapFileContentEnv)
606
+
returnnil, fmt.Errorf("bootstrap environment variables (%q or %q) not defined", envconfig.XDSBootstrapFileNameEnv, envconfig.XDSBootstrapFileContentEnv)
0 commit comments