Skip to content

Commit d2e8366

Browse files
authored
xds: revert #8310: migration of xdsclient to use generic client and dedicated LRS client
This reverts commit 996aabe.
1 parent af0f88e commit d2e8366

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+7393
-1376
lines changed

internal/xds/bootstrap/bootstrap.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,16 +217,10 @@ func (sc *ServerConfig) ServerFeaturesIgnoreResourceDeletion() bool {
217217
return false
218218
}
219219

220-
// SelectedCreds returns the selected credentials configuration for
221-
// communicating with this server.
222-
func (sc *ServerConfig) SelectedCreds() ChannelCreds {
223-
return sc.selectedCreds
224-
}
225-
226220
// DialOptions returns a slice of all the configured dial options for this
227-
// server except grpc.WithCredentialsBundle().
221+
// server.
228222
func (sc *ServerConfig) DialOptions() []grpc.DialOption {
229-
var dopts []grpc.DialOption
223+
dopts := []grpc.DialOption{sc.credsDialOption}
230224
if sc.extraDialOptions != nil {
231225
dopts = append(dopts, sc.extraDialOptions...)
232226
}

0 commit comments

Comments
 (0)