Skip to content

Commit

Permalink
fix NPE (#8837)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrlw committed Sep 21, 2021
1 parent 47053e5 commit 15d16f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ public synchronized void doOverrideIfNecessary() {
newUrl = getConfiguredInvokerUrl(providerConfigurationListener.getConfigurators(), newUrl);
newUrl = getConfiguredInvokerUrl(serviceConfigurationListeners.get(originUrl.getServiceKey())
.getConfigurators(), newUrl);
if (!currentUrl.equals(newUrl)) {
if (!newUrl.equals(currentUrl)) {
if(newUrl.getParameter(Constants.NEED_REEXPORT, true)) {
RegistryProtocol.this.reExport(originInvoker, newUrl);
}
Expand Down

0 comments on commit 15d16f6

Please sign in to comment.