From d50acbebd4f6c5e1b195e7ad8924677cc7b5bff5 Mon Sep 17 00:00:00 2001
From: Goutham Veeramachaneni <gouthamve@gmail.com>
Date: Tue, 14 May 2019 19:40:42 +0530
Subject: [PATCH] fix minor issues with memcached config in ksonnet (#578)

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
---
 production/ksonnet/loki/config.libsonnet    | 2 ++
 production/ksonnet/loki/memcached.libsonnet | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/production/ksonnet/loki/config.libsonnet b/production/ksonnet/loki/config.libsonnet
index 7ba40a7a..f27cec44 100644
--- a/production/ksonnet/loki/config.libsonnet
+++ b/production/ksonnet/loki/config.libsonnet
@@ -4,6 +4,8 @@
     cluster: error 'must define cluster',
     replication_factor: 3,
 
+    memcached_replicas: 3,
+
     table_prefix: $._config.namespace,
     bigtable_instance: error 'must specify bigtable instance',
     bigtable_project: error 'must specify bigtable project',
diff --git a/production/ksonnet/loki/memcached.libsonnet b/production/ksonnet/loki/memcached.libsonnet
index 8634a398..b93e8eec 100644
--- a/production/ksonnet/loki/memcached.libsonnet
+++ b/production/ksonnet/loki/memcached.libsonnet
@@ -1,4 +1,4 @@
-local memcached = 'memcached/memcached.libsonnet';
+local memcached = import 'memcached/memcached.libsonnet';
 
 memcached {
   // Memcached instance used to cache chunks.
-- 
GitLab