Skip to content

Commit

Permalink
Fjerner suspend på loggmetode
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Tordly <[email protected]>
Co-authored-by: Halvor Grizzly Bjørn <[email protected]>
Co-authored-by: Vetle Hollund <[email protected]>
  • Loading branch information
4 people committed Jan 26, 2024
1 parent 5d4fd70 commit 674b0f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ktor-auth-azuread/main/no/nav/aap/ktor/client/Token.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal class TokenCache {
private val tokens: HashMap<String, Token> = hashMapOf()
private val mutex = Mutex()

internal suspend fun logg(logger: Logger) {
internal fun logg(logger: Logger) {
tokens.forEach { (key, value) ->
logger.info("Key: $key, Value: $value")
}
Expand Down
2 changes: 1 addition & 1 deletion ktor-auth-tokenx/main/no/nav/aap/ktor/client/Token.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal class TokenCache {
private val tokens: HashMap<String, Token> = hashMapOf()
private val mutex = Mutex()

internal suspend fun logg(logger: Logger) {
internal fun logg(logger: Logger) {
tokens.forEach { (key, value) ->
logger.info("Key: $key, Value: $value")
}
Expand Down

0 comments on commit 674b0f9

Please sign in to comment.