From 22459ee17a3ba0b4487f975b6ebe630cab2d9feb Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Thu, 17 Aug 2017 15:05:17 +0100 Subject: PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224) * PLT-7302: Aggregate Elasticsearch indexes over a certain age. This is done by a scheduled daily job, in order to keep the shard count to a sensible level in Elasticsearch. * Use map[string]string instead of StringMap --- api4/job_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4') diff --git a/api4/job_test.go b/api4/job_test.go index 3dcdbe58b..511386810 100644 --- a/api4/job_test.go +++ b/api4/job_test.go @@ -18,7 +18,7 @@ func TestCreateJob(t *testing.T) { job := &model.Job{ Type: model.JOB_TYPE_DATA_RETENTION, - Data: map[string]interface{}{ + Data: map[string]string{ "thing": "stuff", }, } -- cgit v1.2.3-1-g7c22