From 9b5c9240254820c749ee939c7c8ffd06c16d9110 Mon Sep 17 00:00:00 2001 From: Manyanda Chitimbo Date: Sun, 6 Jun 2021 12:17:49 +0200 Subject: [PATCH] refactor(redis-config): remove initialisation of a config item as the Quarkus config will handle it --- .../main/java/io/quarkus/redis/client/runtime/RedisConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/client/runtime/RedisConfig.java b/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/client/runtime/RedisConfig.java index f2fc4e834ba1e..ae593e4ddaeb3 100644 --- a/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/client/runtime/RedisConfig.java +++ b/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/client/runtime/RedisConfig.java @@ -78,7 +78,7 @@ public static class RedisConfiguration { * Used when `quarkus.redis.hosts` is not set. */ @ConfigItem - public Optional hostsProviderName = Optional.empty(); + public Optional hostsProviderName; /** * The maximum delay to wait before a blocking command to redis server times out