From 8023a3b2cf2a96d1bb25d6d467f342c02cb36f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E9=94=A6=E8=BE=89?= Date: Mon, 11 Nov 2024 11:28:38 +0800 Subject: [PATCH] Fix RegistryConfig override ApplicationConfig --- .../org/apache/dubbo/config/utils/ConfigValidationUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java index 1e697c83988..241d0d7f5f7 100644 --- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java +++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java @@ -213,8 +213,8 @@ public static List loadRegistries(AbstractInterfaceConfig interfaceConfig, } if (!RegistryConfig.NO_AVAILABLE.equalsIgnoreCase(address)) { Map map = new HashMap<>(); - AbstractConfig.appendParameters(map, application); AbstractConfig.appendParameters(map, config); + AbstractConfig.appendParameters(map, application); map.put(PATH_KEY, RegistryService.class.getName()); AbstractInterfaceConfig.appendRuntimeParameters(map); if (!map.containsKey(PROTOCOL_KEY)) {