fix: rc2
This commit is contained in:
1
pom.xml
1
pom.xml
@@ -39,6 +39,7 @@
|
||||
<lettuce.version>5.3.5.RELEASE</lettuce.version>
|
||||
<nacos.version>0.2.7</nacos.version>
|
||||
<netty.version>4.1.54.Final</netty.version>
|
||||
<httpcore.version>4.4.14</httpcore.version>
|
||||
<log4j2.version>2.13.3</log4j2.version>
|
||||
</properties>
|
||||
|
||||
|
||||
@@ -145,6 +145,11 @@ public class ServiceConfig {
|
||||
} else {
|
||||
Collections.sort(matchPathPatterns, antPathMatcher.getPatternComparator(reqPath));
|
||||
String bestPattern = matchPathPatterns.get(0);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("\nreq path: " + reqPath +
|
||||
"\nmatch patterns: " + matchPathPatterns +
|
||||
"\nbest one: " + bestPattern);
|
||||
}
|
||||
return getApiConfig1(method, path2methodToApiConfigMapMap.get(bestPattern));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user