Skip to content

Commit

Permalink
fix parameters could be null.
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenlj committed Oct 27, 2019
1 parent 20351b0 commit 4dd6ed7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,8 @@ private void useRegistryForConfigIfNecessary() {
Map<String, String> configParams = cc.getParameters() == null ? new HashMap<>() : cc.getParameters();
configParams.putAll(rc.getParameters());
cc.setParameters(configParams);
} else {
rc.setParameters(new HashMap<>());
}
cc.getParameters().put(org.apache.dubbo.remoting.Constants.CLIENT_KEY,rc.getClient());
cc.setProtocol(rc.getProtocol());
Expand Down

0 comments on commit 4dd6ed7

Please sign in to comment.