From d140f1f0901babe473232cf3633c97458ec1b928 Mon Sep 17 00:00:00 2001 From: salaboy Date: Wed, 24 Jul 2024 11:28:00 +0100 Subject: [PATCH] fixing style Signed-off-by: salaboy --- .../java/io/dapr/testcontainers/DaprContainer.java | 10 +++++----- .../src/test/resources/components/statestore.yaml | 2 +- .../src/test/resources/logback-test.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/testcontainers-dapr/src/main/java/io/dapr/testcontainers/DaprContainer.java b/testcontainers-dapr/src/main/java/io/dapr/testcontainers/DaprContainer.java index ba9cdd32e..d8deebe17 100644 --- a/testcontainers-dapr/src/main/java/io/dapr/testcontainers/DaprContainer.java +++ b/testcontainers-dapr/src/main/java/io/dapr/testcontainers/DaprContainer.java @@ -38,10 +38,10 @@ public class DaprContainer extends GenericContainer { public enum DaprLogLevel { - error, - warn, - info, - debug + ERROR, + WARN, + INFO, + DEBUG } public static class Subscription { @@ -159,7 +159,7 @@ public String getVersion() { private final Set subscriptions = new HashSet<>(); private String appName; private Integer appPort = 8080; - private DaprLogLevel daprLogLevel = DaprLogLevel.info; + private DaprLogLevel daprLogLevel = DaprLogLevel.INFO; private String appChannelAddress = "localhost"; private String placementService = "placement"; private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse("daprio/daprd"); diff --git a/testcontainers-dapr/src/test/resources/components/statestore.yaml b/testcontainers-dapr/src/test/resources/components/statestore.yaml index c765a9fb5..aeeadbe76 100644 --- a/testcontainers-dapr/src/test/resources/components/statestore.yaml +++ b/testcontainers-dapr/src/test/resources/components/statestore.yaml @@ -11,4 +11,4 @@ spec: - name: redisHost value: redis:6379 - name: redisPassword - value: "" \ No newline at end of file + value: "" diff --git a/testcontainers-dapr/src/test/resources/logback-test.xml b/testcontainers-dapr/src/test/resources/logback-test.xml index c9b76725b..b02ce3b41 100644 --- a/testcontainers-dapr/src/test/resources/logback-test.xml +++ b/testcontainers-dapr/src/test/resources/logback-test.xml @@ -14,4 +14,4 @@ - \ No newline at end of file +