Skip to content

Commit c2af4d5

Browse files
committed
Small syntax change
1 parent f6dad31 commit c2af4d5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/integrationTest/java/org/radarbase/output/RestructureS3IntegrationTest.kt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@ class RestructureS3IntegrationTest {
2525
secretKey = "minioadmin",
2626
bucket = "source",
2727
)
28-
val targetConfig = S3Config(
29-
endpoint = "http://localhost:9000",
30-
accessToken = "minioadmin",
31-
secretKey = "minioadmin",
32-
bucket = "target",
33-
)
28+
val targetConfig = sourceConfig.copy(bucket = "target")
3429
val topicConfig = mapOf(
3530
"application_server_status" to TopicConfig(
3631
pathProperties = mapOf(

0 commit comments

Comments
 (0)