Skip to content

Commit

Permalink
fix #2545 delayed address (such as zookeeper) parsing (#2565)
Browse files Browse the repository at this point in the history
  • Loading branch information
356082462 authored and zonghaishang committed Sep 27, 2018
1 parent 6edfb1d commit 040343b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public Registry getRegistry(URL url) {
url = url.setPath(RegistryService.class.getName())
.addParameter(Constants.INTERFACE_KEY, RegistryService.class.getName())
.removeParameters(Constants.EXPORT_KEY, Constants.REFER_KEY);
String key = url.toServiceString();
String key = url.toServiceStringWithoutResolving();
// Lock the registry access process to ensure a single instance of the registry
LOCK.lock();
try {
Expand Down

0 comments on commit 040343b

Please sign in to comment.