Skip to content

Commit

Permalink
Merge pull request #35685 from sberyozkin/keycloak_devservices_client…
Browse files Browse the repository at this point in the history
…_cred
  • Loading branch information
gastaldi committed Sep 1, 2023
2 parents f2d6cc1 + 5c46d30 commit 01250df
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ public static Uni<String> testServiceWithPassword(String tokenUrl, String servic
return token.eventually(client::close);
}

private static Uni<String> testServiceInternal(WebClient client, String serviceUrl, Uni<String> token) {
return token
.flatMap(t -> {
private static Uni<String> testServiceInternal(WebClient client, String serviceUrl, Uni<String> tokenUni) {
return tokenUni
.flatMap(token -> {
LOG.infof("Sending token to '%s'", serviceUrl);
return client
.getAbs(serviceUrl)
Expand Down

0 comments on commit 01250df

Please sign in to comment.