Skip to content

Commit

Permalink
add registryUrl parameters from multipleRegistryUrl #13603 (#13633)
Browse files Browse the repository at this point in the history
Co-authored-by: shaowei ye <yesw@broada.com>
  • Loading branch information
shaowYe and shaowei ye authored Jan 10, 2024
1 parent b5a8c7d commit 05d44ab
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ protected void initReferenceRegistry(URL url, Map<String, Registry> registryMap)
referenceRegistries.put(tmpUrl, registryMap.get(tmpUrl));
continue;
}
final URL registryUrl =
URL.valueOf(tmpUrl).addParameterIfAbsent(CHECK_KEY, url.getParameter(CHECK_KEY, "true"));
final URL registryUrl = URL.valueOf(tmpUrl)
.addParametersIfAbsent(url.getParameters())
.addParameterIfAbsent(CHECK_KEY, url.getParameter(CHECK_KEY, "true"));
Registry registry = registryFactory.getRegistry(registryUrl);
registryMap.put(tmpUrl, registry);
referenceRegistries.put(tmpUrl, registry);
Expand Down

0 comments on commit 05d44ab

Please sign in to comment.