Skip to content

Commit

Permalink
remove compatible key when merging (#4064)
Browse files Browse the repository at this point in the history
fixes #4059
  • Loading branch information
nzomkxia authored and chickenlj committed May 15, 2019
1 parent cdce2b2 commit effc2ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import static org.apache.dubbo.common.constants.CommonConstants.SIDE_KEY;
import static org.apache.dubbo.common.constants.CommonConstants.VERSION_KEY;
import static org.apache.dubbo.common.constants.RegistryConstants.CATEGORY_KEY;
import static org.apache.dubbo.common.constants.RegistryConstants.COMPATIBLE_CONFIG_KEY;
import static org.apache.dubbo.common.constants.RegistryConstants.DYNAMIC_KEY;

/**
Expand Down Expand Up @@ -126,6 +127,7 @@ private URL configureIfMatch(String host, URL url) {
conditionKeys.add(APPLICATION_KEY);
conditionKeys.add(SIDE_KEY);
conditionKeys.add(CONFIG_VERSION_KEY);
conditionKeys.add(COMPATIBLE_CONFIG_KEY);
for (Map.Entry<String, String> entry : configuratorUrl.getParameters().entrySet()) {
String key = entry.getKey();
String value = entry.getValue();
Expand Down

0 comments on commit effc2ef

Please sign in to comment.