From c037994a336261b7006ea642514f530c3f027dd5 Mon Sep 17 00:00:00 2001 From: lilai Date: Wed, 10 Jan 2024 15:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A6=81=E6=AD=A2=E6=B6=88?= =?UTF-8?q?=E8=B4=B9=E6=8F=92=E4=BB=B6=E5=8A=A8=E6=80=81=E9=85=8D=E7=BD=AE?= =?UTF-8?q?zone=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lilai --- .../core/plugin/subscribe/CommonGroupConfigSubscriber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/plugin/subscribe/CommonGroupConfigSubscriber.java b/sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/plugin/subscribe/CommonGroupConfigSubscriber.java index 93d4a9a0ee..69caaea49f 100644 --- a/sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/plugin/subscribe/CommonGroupConfigSubscriber.java +++ b/sermant-agentcore/sermant-agentcore-core/src/main/java/com/huaweicloud/sermant/core/plugin/subscribe/CommonGroupConfigSubscriber.java @@ -135,7 +135,7 @@ private void buildZoneRequest() { final HashMap map = new HashMap<>(REQUEST_MAP_SIZE); map.put(APP, config.getApplication()); map.put(ENVIRONMENT, config.getEnvironment()); - map.put(ZONE, config.getEnvironment()); + map.put(ZONE, config.getZone()); final String labelGroup = LabelGroupUtils.createLabelGroup(map); listenerCache.put(labelGroup, new IntegratedEventListenerAdapter(configOrderIntegratedProcessor, labelGroup)); configOrderIntegratedProcessor.addHolder(new ConfigDataHolder(labelGroup, ZONE_ORDER));