From 25d332cedce88d5a02664d7a3058f6cc03645222 Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Sun, 1 Sep 2024 15:47:29 -0400 Subject: [PATCH] cleanup3 Signed-off-by: Yuri Shkuro --- plugin/storage/es/options.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/storage/es/options.go b/plugin/storage/es/options.go index 93bceddcf03..9afa5da6771 100644 --- a/plugin/storage/es/options.go +++ b/plugin/storage/es/options.go @@ -344,10 +344,10 @@ func initFromViper(cfg *namespaceConfig, v *viper.Viper) { cfg.IndexPrefix = v.GetString(cfg.namespace + suffixIndexPrefix) // TODO cfg.Indices does not have a separate flag - cfg.Indices.Spans.IndexPrefix = cfg.IndexPrefix - cfg.Indices.Services.IndexPrefix = cfg.IndexPrefix - cfg.Indices.Sampling.IndexPrefix = cfg.IndexPrefix - cfg.Indices.Dependencies.IndexPrefix = cfg.IndexPrefix + cfg.Indices.Spans.Prefix = cfg.IndexPrefix + cfg.Indices.Services.Prefix = cfg.IndexPrefix + cfg.Indices.Sampling.Prefix = cfg.IndexPrefix + cfg.Indices.Dependencies.Prefix = cfg.IndexPrefix cfg.Tags.AllAsFields = v.GetBool(cfg.namespace + suffixTagsAsFieldsAll) cfg.Tags.Include = v.GetString(cfg.namespace + suffixTagsAsFieldsInclude)