Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
String.format() (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontgomery-square committed Jun 30, 2022
1 parent d0dfb6a commit 41f2678
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -71,9 +71,10 @@ public Optional<Client> authenticate(Principal principal, boolean createMissingC
? possibleClientSpiffeId.get().toString()
: "";
logger.info(
"Authenticating principal with possible client name %s and possible SPIFFE ID %s",
possibleClientName.orElse(""),
spiffeIdString);
String.format(
"Authenticating principal with possible client name %s and possible SPIFFE ID %s",
possibleClientName.orElse(""),
spiffeIdString));
}

Optional<Client> possibleClientFromName = possibleClientName.flatMap((name) -> {
Expand Down

0 comments on commit 41f2678

Please sign in to comment.