Skip to content
Snippets Groups Projects
Commit 9848e0bd authored by aliiohs's avatar aliiohs
Browse files

debug log

parent 294fe882
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ func (dir *staticDirectory) List(invocation protocol.Invocation) []protocol.Invo
invokers := dir.invokers
localRouters := dir.routers
fmt.Println("========", len(localRouters))
if len(localRouters) > 0 {
for _, router := range localRouters {
if reflect.ValueOf(router.Url()).IsNil() || router.Url().GetParamBool(constant.RUNTIME_KEY, false) {
......
......@@ -236,6 +236,7 @@ func (dir *registryDirectory) cacheInvoker(url common.URL) {
func (dir *registryDirectory) List(invocation protocol.Invocation) []protocol.Invoker {
invokers := dir.cacheInvokers
localRouters := dir.Routers()
fmt.Println("========", len(localRouters))
if len(localRouters) > 0 {
for _, router := range localRouters {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment