Skip to content

Commit

Permalink
Allow separate label cache for query-frontend
Browse files Browse the repository at this point in the history
Instead of using the cache config from the query-range.
  • Loading branch information
craigfurman committed Dec 10, 2020
1 parent a9059c1 commit 505fd48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/thanos/query_frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func runQueryFrontend(
return err
}
if len(labelsCacheConfContentYaml) > 0 {
cacheConfig, err := queryfrontend.NewCacheConfig(logger, queryRangeCacheConfContentYaml)
cacheConfig, err := queryfrontend.NewCacheConfig(logger, labelsCacheConfContentYaml)
if err != nil {
return errors.Wrap(err, "initializing the labels cache config")
}
Expand Down

0 comments on commit 505fd48

Please sign in to comment.