Skip to content

Commit

Permalink
cleanup3
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed Sep 1, 2024
1 parent bea1ed7 commit a33a5ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin/storage/es/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a33a5ac

Please sign in to comment.