Skip to content

Commit

Permalink
Suppress incorrect start-up log message related to requested URI disc…
Browse files Browse the repository at this point in the history
…overy (#5862)
  • Loading branch information
tjquinno authored Jan 13, 2023
1 parent 34842fa commit 80ffcb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ private void prepareAndCheckRequestedUriSettings() {
}
} else {
// Discovery is disabled so ignore any explicit settings of discovery type and use HOST discovery.
if (!requestedUriDiscoveryTypes.isEmpty()) {
if (!requestedUriDiscoveryTypes.isEmpty() && !isDiscoveryTypesOnlyHost()) {
LOGGER.log(Level.INFO, """
Ignoring explicit settings of requested-uri-discovery types and trusted-proxies because
requested-uri-discovery.enabled {0} to false
Expand Down

0 comments on commit 80ffcb4

Please sign in to comment.