Skip to content

Commit

Permalink
fixes #2065 change the mapping missing to warn in DirectRegistryConfig (
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu authored Jan 2, 2024
1 parent 346bd02 commit 9c2d83f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ private void setMap() {
} else if (getMappedConfig().get(DIRECT_URLS) instanceof Map) {
map = (Map<String, String>) getMappedConfig().get(DIRECT_URLS);
} else {
logger.error("mapping is missing or wrong type.");
// change this to warning as the service.yml configuration is still supported.
logger.warn("mapping is missing or wrong type.");
}
// now convert the value of the map to a list of URLs.
directUrls = new HashMap<>();
Expand Down

0 comments on commit 9c2d83f

Please sign in to comment.