wangxw666 opened a new pull request #1244:
URL: https://github.com/apache/dubbo-go/pull/1244


    in `RegistryDirectory.List`
   ```
   routerChain := dir.RouterChain()
   
        if routerChain == nil {
                dir.invokersLock.RLock()
                defer dir.invokersLock.RUnlock()
                return dir.cacheInvokers
        }
   ```
    
   If I didn't create the route it should just go back `cacheInvokers`,but  
`NewRegistryDirectory` created a degault routerChain struct, so the judgment 
here will never be valid
   


-- 
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.

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