From f781f5d6368c1641bf35f3e45afe3ee4916293e3 Mon Sep 17 00:00:00 2001 From: renyong <497269678@qq.com> Date: Mon, 21 Jan 2019 16:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E8=AF=A5=E6=98=AF=E9=9D=9E=E7=A9=BA?= =?UTF-8?q?=E6=89=8D=E5=BE=AA=E7=8E=AF=EF=BC=8C=E4=B8=8D=E7=84=B6=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E5=9C=A8=E4=BD=BF=E7=94=A8redis=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E4=B8=AD=E5=BF=83=E6=97=B6=E6=B6=88=E8=B4=B9=E8=80=85?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E4=B8=8D=E5=88=B0=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/apache/dubbo/registry/redis/RedisRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-registry/dubbo-registry-redis/src/main/java/org/apache/dubbo/registry/redis/RedisRegistry.java b/dubbo-registry/dubbo-registry-redis/src/main/java/org/apache/dubbo/registry/redis/RedisRegistry.java index 589e92f4032..847e7c82c75 100644 --- a/dubbo-registry/dubbo-registry-redis/src/main/java/org/apache/dubbo/registry/redis/RedisRegistry.java +++ b/dubbo-registry/dubbo-registry-redis/src/main/java/org/apache/dubbo/registry/redis/RedisRegistry.java @@ -428,7 +428,7 @@ private void doNotify(Jedis jedis, Collection keys, URL url, Collection< } List urls = new ArrayList<>(); Map values = jedis.hgetAll(key); - if (CollectionUtils.isEmptyMap(values)) { + if (!CollectionUtils.isEmptyMap(values)) { for (Map.Entry entry : values.entrySet()) { URL u = URL.valueOf(entry.getKey()); if (!u.getParameter(Constants.DYNAMIC_KEY, true)