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

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new a0c580f  [SCB-2071] fix kie can not get version level config (#1929)
a0c580f is described below

commit a0c580fb4f4181d3bfb3cf63a9d6094ddd71bffa
Author: GuoYL <[email protected]>
AuthorDate: Sat Aug 29 17:44:09 2020 +0800

    [SCB-2071] fix kie can not get version level config (#1929)
---
 .../src/main/java/org/apache/servicecomb/config/kie/client/KieUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dynamic-config/config-kie/src/main/java/org/apache/servicecomb/config/kie/client/KieUtil.java
 
b/dynamic-config/config-kie/src/main/java/org/apache/servicecomb/config/kie/client/KieUtil.java
index 6e209bb..63ebefa 100644
--- 
a/dynamic-config/config-kie/src/main/java/org/apache/servicecomb/config/kie/client/KieUtil.java
+++ 
b/dynamic-config/config-kie/src/main/java/org/apache/servicecomb/config/kie/client/KieUtil.java
@@ -87,7 +87,7 @@ public class KieUtil {
             serviceList.add(kvDoc);
           }
           if (labelsMap.containsKey(LABEL_VERSION) && 
labelsMap.get(LABEL_VERSION)
-              .equals(KieConfig.INSTANCE.getServiceName())) {
+              .equals(KieConfig.INSTANCE.getVersion())) {
             versionList.add(kvDoc);
           }
         }

Reply via email to