File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
xds/internal/xdsclient/pubsub Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,21 @@ func (pb *Pubsub) NewConnectionError(err error) {
295
295
pb .mu .Lock ()
296
296
defer pb .mu .Unlock ()
297
297
298
+ for _ , s := range pb .ldsWatchers {
299
+ for wi := range s {
300
+ wi .newError (xdsresource .NewErrorf (xdsresource .ErrorTypeConnection , "xds: error received from xDS stream: %v" , err ))
301
+ }
302
+ }
303
+ for _ , s := range pb .rdsWatchers {
304
+ for wi := range s {
305
+ wi .newError (xdsresource .NewErrorf (xdsresource .ErrorTypeConnection , "xds: error received from xDS stream: %v" , err ))
306
+ }
307
+ }
308
+ for _ , s := range pb .cdsWatchers {
309
+ for wi := range s {
310
+ wi .newError (xdsresource .NewErrorf (xdsresource .ErrorTypeConnection , "xds: error received from xDS stream: %v" , err ))
311
+ }
312
+ }
298
313
for _ , s := range pb .edsWatchers {
299
314
for wi := range s {
300
315
wi .newError (xdsresource .NewErrorf (xdsresource .ErrorTypeConnection , "xds: error received from xDS stream: %v" , err ))
You can’t perform that action at this time.
0 commit comments