Skip to content

Commit

Permalink
Merge pull request #1839, remove validation key from provider url reg…
Browse files Browse the repository at this point in the history
…istered to registry.

Fixes #1386.
  • Loading branch information
nzomkxia authored and chickenlj committed May 24, 2018
1 parent 300f9c9 commit c0f44e0
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 c0f44e0

Please sign in to comment.