Aias00 commented on code in PR #994:
URL: https://github.com/apache/dubbo-go-pixiu/pull/994#discussion_r3568302652


##########
pkg/config/xds/xds.go:
##########
@@ -116,8 +126,13 @@ func (a *Xds) Start() {
 
        // lds fetch just run on init phase.
        if a.dynamicResourceMg.GetLds() != nil {
+               discoverApi := a.createApiManager(a.dynamicResourceMg.GetLds(), 
a.dynamicResourceMg.GetNode(), constant.ListenerType)
+               if discoverApi == nil {
+                       logger.Errorf("failed to create LDS API manager")
+                       return

Review Comment:
   @/tmp/pr994reply.md



##########
pkg/config/xds/xds.go:
##########
@@ -116,8 +126,13 @@ func (a *Xds) Start() {
 
        // lds fetch just run on init phase.
        if a.dynamicResourceMg.GetLds() != nil {
+               discoverApi := a.createApiManager(a.dynamicResourceMg.GetLds(), 
a.dynamicResourceMg.GetNode(), constant.ListenerType)
+               if discoverApi == nil {
+                       logger.Errorf("failed to create LDS API manager")
+                       return

Review Comment:
   @/tmp/pr994reply.md



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to