提交 039a99da 编写于 作者: K ken.lj

Mock router should run every time

上级 49525b0a
......@@ -75,7 +75,7 @@ public abstract class AbstractDirectory<T> implements Directory<T> {
if (localRouters != null && localRouters.size() > 0) {
for (Router router : localRouters) {
try {
if (router.getUrl() != null && router.getUrl().getParameter(Constants.RUNTIME_KEY, false)) {
if (router.getUrl() == null || router.getUrl().getParameter(Constants.RUNTIME_KEY, false)) {
invokers = router.route(invokers, getConsumerUrl(), invocation);
}
} catch (Throwable t) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册