From 19d36fb4984c8d3e957a961079643d1a1098889b Mon Sep 17 00:00:00 2001 From: Rodrigo Zhou Date: Thu, 2 Feb 2023 12:55:23 -0800 Subject: [PATCH] Fix docker config template to set only one visibility (#3889) --- docker/config_template.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/config_template.yaml b/docker/config_template.yaml index 046e7f7d601..8a7c747d8c2 100644 --- a/docker/config_template.yaml +++ b/docker/config_template.yaml @@ -5,10 +5,11 @@ log: persistence: numHistoryShards: {{ default .Env.NUM_HISTORY_SHARDS "4" }} defaultStore: default - visibilityStore: visibility {{- $es := default .Env.ENABLE_ES "false" | lower -}} {{- if eq $es "true" }} advancedVisibilityStore: es-visibility + {{- else }} + visibilityStore: visibility {{- end }} datastores: {{- $db := default .Env.DB "cassandra" | lower -}}