Skip to content

Commit

Permalink
chore: pr cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Losoponkul <[email protected]>
  • Loading branch information
Pat Losoponkul committed Nov 16, 2023
1 parent ba1bdd2 commit 9fc8d93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# New JDK version makes 'localhost' lookup on linux return ipv6.
# Our test containers are on ipv4. We need to make 'localhost' resolve to ipv4.
_JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ class KeycloakClientImpl(client: AuthzClient, httpClient: Client, keycloakConfig
)
)
.logError("Fail to get the accessToken on keycloak.")
.tapError(_ => ZIO.succeed(keycloakConfig).debug("keycloakConfig"))
.mapError(e => KeycloakClientError.UnexpectedError("Fail to get the accessToken on keyclaok."))
.mapError(e => KeycloakClientError.UnexpectedError("Fail to get the accessToken on keycloak."))
.provide(ZLayer.succeed(httpClient))
body <- response.body.asString
.logError("Fail parse keycloak token response.")
Expand Down

0 comments on commit 9fc8d93

Please sign in to comment.