Skip to content

Commit

Permalink
Merge pull request apache#1839, remove validation key from provider u…
Browse files Browse the repository at this point in the history
…rl registered to registry.

Fixes apache#1386.
  • Loading branch information
nzomkxia authored and chickenlj committed May 24, 2018
1 parent 55461ab commit 404408b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import static com.alibaba.dubbo.common.Constants.ACCEPT_FOREIGN_IP;
import static com.alibaba.dubbo.common.Constants.QOS_ENABLE;
import static com.alibaba.dubbo.common.Constants.QOS_PORT;
import static com.alibaba.dubbo.common.Constants.VALIDATION_KEY;

/**
* RegistryProtocol
Expand Down Expand Up @@ -227,7 +228,8 @@ private URL getRegistedProviderUrl(final Invoker<?> originInvoker) {
.removeParameter(Constants.BIND_PORT_KEY)
.removeParameter(QOS_ENABLE)
.removeParameter(QOS_PORT)
.removeParameter(ACCEPT_FOREIGN_IP);
.removeParameter(ACCEPT_FOREIGN_IP)
.removeParameter(VALIDATION_KEY);
return registedProviderUrl;
}

Expand Down

0 comments on commit 404408b

Please sign in to comment.