diff --git a/CHANGELOG.md b/CHANGELOG.md index bf15616cf4..d438abf95d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ We use _breaking :warning:_ to mark changes that are not backward compatible (re ### Fixed - [#3527](https://github.com/thanos-io/thanos/pull/3527) Query Frontend: Fix query_range behavior when start/end times are the same +- [#3560](https://github.com/thanos-io/thanos/pull/3560) query-frontend: Allow separate label cache ### Changed diff --git a/cmd/thanos/query_frontend.go b/cmd/thanos/query_frontend.go index fd97747331..67d7689e67 100644 --- a/cmd/thanos/query_frontend.go +++ b/cmd/thanos/query_frontend.go @@ -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") }