Skip to content
Snippets Groups Projects
Commit 0527cf33 authored by aliiohs's avatar aliiohs
Browse files

fix

parent 984a9dad
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,7 @@ func newConditionRouter(url *common.URL) (*ConditionRouter, error) {
}, nil
}
//Router determine the target server list.
func (c *ConditionRouter) Route(invokers []protocol.Invoker, url common.URL, invocation protocol.Invocation) []protocol.Invoker {
if len(invokers) == 0 {
return invokers
......
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