From a0c9d9c0e78dd3e865edd79cd4f308f900a02973 Mon Sep 17 00:00:00 2001 From: Dakota Sullivan Date: Fri, 20 Dec 2019 19:23:01 -0700 Subject: [PATCH] Fix config property names --- weed/filer2/redis/redis_cluster_store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/filer2/redis/redis_cluster_store.go b/weed/filer2/redis/redis_cluster_store.go index fcb81a004..379b7a2db 100644 --- a/weed/filer2/redis/redis_cluster_store.go +++ b/weed/filer2/redis/redis_cluster_store.go @@ -22,8 +22,8 @@ func (store *RedisClusterStore) Initialize(configuration util.Configuration) (er return store.initialize( configuration.GetStringSlice("addresses"), configuration.GetString("password"), - configuration.GetBool("connection_use_read_only"), - configuration.GetBool("connection_route_by_latency"), + configuration.GetBool("useReadOnly"), + configuration.GetBool("routeByLatency"), ) }