Skip to content

Commit 1ec7a89

Browse files
authored
xds/client: send NewStream errors to the watchers (#5032)
1 parent ccc060c commit 1ec7a89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xds/internal/xdsclient/controller/transport.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func (t *Controller) run(ctx context.Context) {
8181
retries++
8282
stream, err := t.vClient.NewStream(ctx, t.cc)
8383
if err != nil {
84+
t.updateHandler.NewConnectionError(err)
8485
t.logger.Warningf("xds: ADS stream creation failed: %v", err)
8586
continue
8687
}

0 commit comments

Comments
 (0)