Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Jan 9, 2025
1 parent cae7827 commit 19466be
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AuthTokenGenerator(
public val credentialsProvider: CredentialsProvider = DefaultChainCredentialsProvider(),
public val credentialsRefreshBuffer: Duration = 10.seconds,
public val signer: AwsSigner = DefaultAwsSigner,
public val clock: Clock = Clock.System
public val clock: Clock = Clock.System,
) {
private lateinit var credentials: ExpiringValue<Credentials>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class DsqlAuthTokenGenerator(
public val credentialsProvider: CredentialsProvider = DefaultChainCredentialsProvider(),
public val credentialsRefreshBuffer: Duration = 10.seconds,
public val signer: AwsSigner = DefaultAwsSigner,
public val clock: Clock = Clock.System
public val clock: Clock = Clock.System,
) {
private val generator = AuthTokenGenerator("dsql", credentialsProvider, credentialsRefreshBuffer, signer, clock)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import kotlinx.coroutines.test.runTest
import kotlin.test.Test
import kotlin.test.assertContains
import kotlin.test.assertFalse
import kotlin.test.assertTrue
import kotlin.time.Duration.Companion.seconds

class DsqlAuthTokenGeneratorTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import aws.smithy.kotlin.runtime.auth.awssigning.AwsSigner
import aws.smithy.kotlin.runtime.auth.awssigning.DefaultAwsSigner
import aws.smithy.kotlin.runtime.net.url.Url
import aws.smithy.kotlin.runtime.time.Clock
import kotlinx.coroutines.runBlocking
import kotlin.apply
import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds
Expand All @@ -28,7 +27,7 @@ public class RdsAuthTokenGenerator(
public val credentialsProvider: CredentialsProvider = DefaultChainCredentialsProvider(),
public val credentialsRefreshBuffer: Duration = 10.seconds,
public val signer: AwsSigner = DefaultAwsSigner,
public val clock: Clock = Clock.System
public val clock: Clock = Clock.System,
) {
private val generator = AuthTokenGenerator("rds-db", credentialsProvider, credentialsRefreshBuffer, signer, clock)

Expand Down
1 change: 0 additions & 1 deletion services/rds/common/test/RdsAuthTokenGeneratorTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import kotlinx.coroutines.test.runTest
import kotlin.test.Test
import kotlin.test.assertContains
import kotlin.test.assertFalse
import kotlin.test.assertTrue
import kotlin.time.Duration.Companion.seconds

class RdsAuthTokenGeneratorTest {
Expand Down

0 comments on commit 19466be

Please sign in to comment.