This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new f3debc157 [type: fix]Resolve failure to load local plugins (#3403)
f3debc157 is described below

commit f3debc1579158e6da0edd0d9caa406974f66c86a
Author: zouchangfu <[email protected]>
AuthorDate: Wed May 18 17:14:26 2022 +0800

    [type: fix]Resolve failure to load local plugins (#3403)
---
 .../src/main/java/org/apache/shenyu/web/handler/ShenyuWebHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/shenyu-web/src/main/java/org/apache/shenyu/web/handler/ShenyuWebHandler.java 
b/shenyu-web/src/main/java/org/apache/shenyu/web/handler/ShenyuWebHandler.java
index d7966e0af..8e3ca1777 100644
--- 
a/shenyu-web/src/main/java/org/apache/shenyu/web/handler/ShenyuWebHandler.java
+++ 
b/shenyu-web/src/main/java/org/apache/shenyu/web/handler/ShenyuWebHandler.java
@@ -114,7 +114,7 @@ public final class ShenyuWebHandler implements WebHandler, 
ApplicationListener<P
                 .collect(Collectors.toList());
         if (CollectionUtils.isNotEmpty(shenyuPlugins)) {
             shenyuPlugins.forEach(plugin -> LOG.info("shenyu auto add extends 
plugins:{}", plugin.named()));
-            shenyuPlugins.addAll(plugins);
+            plugins.addAll(shenyuPlugins);
             onSortedPlugins();
         }
     }

Reply via email to