Skip to content

Commit

Permalink
Merge pull request #172 from kakkoyun/fix_copy_paste_error
Browse files Browse the repository at this point in the history
query-frontend: Fix wrongly referred config
  • Loading branch information
kakkoyun authored Nov 20, 2020
2 parents b93dc34 + b915e8d commit 39435d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsonnet/kube-thanos/kube-thanos-query-frontend.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ function(params) {
else {},
labelsCache+:
if std.objectHas(params, 'labelsCache')
&& std.objectHas(params.queryRangeCache, 'type')
&& std.objectHas(params.labelsCache, 'type')
&& params.labelsCache.type == 'memcached' then

defaults.memcachedDefaults + params.labelsCache
else if std.objectHas(params, 'labelsCache')
&& std.objectHas(params.queryRangeCache, 'type')
&& std.objectHas(params.labelsCache, 'type')
&& params.labelsCache.type == 'in-memory' then

defaults.fifoCache + params.labelsCache
Expand Down

0 comments on commit 39435d2

Please sign in to comment.