Skip to content

Commit

Permalink
14372 fix multi registries (#14381)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwangyin authored Jul 4, 2024
1 parent 79a1cca commit 238fe31
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ private void init(MetadataReportConfig config, MetadataReportFactory metadataRep

private String getRelatedRegistryId(MetadataReportConfig config, URL url) {
String relatedRegistryId = config.getRegistry();
if (isEmpty(relatedRegistryId)) {
relatedRegistryId = config.getId();
}
if (isEmpty(relatedRegistryId)) {
relatedRegistryId = DEFAULT_KEY;
}
Expand Down

0 comments on commit 238fe31

Please sign in to comment.