liubao68 commented on a change in pull request #2666:
URL: 
https://github.com/apache/servicecomb-java-chassis/pull/2666#discussion_r770156486



##########
File path: 
core/src/main/java/org/apache/servicecomb/core/handler/HandlerConfigUtils.java
##########
@@ -31,8 +31,9 @@ private HandlerConfigUtils() {
   private static Config loadConfig() throws Exception {
     Config config = new Config();
 
-    List<Resource> resList =
-        
PaaSResourceUtils.getSortedResources("classpath*:config/cse.handler.xml", 
".handler.xml");
+    List<Resource> resList = PaaSResourceUtils.getResources(new 
String[]{"classpath*:config/*.handler.xml"});
+    PaaSResourceUtils.sortResources(resList, ".handler.xml");

Review comment:
       Suffix is not correct. Add test cases to make sure file name sorting is 
work as expected. 




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to