From 00e8b6621a7ddf13222144d4acf80421204a23cc Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Tue, 1 Aug 2017 13:11:29 +0100 Subject: PLT-6595 (Client): Elasticsearch indexing system console UI (#6991) * PLT-6595: System Console for Elasticsearch Job Management. * Fixing UI issues * Fixing colors * ESLint Fixes. * Update test snapshots. * Fixing cancel button * Fix review comments. * Config capitalisation. * Review fixes. --- model/job.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'model') diff --git a/model/job.go b/model/job.go index ebc849b30..004331a1f 100644 --- a/model/job.go +++ b/model/job.go @@ -10,8 +10,8 @@ import ( ) const ( - JOB_TYPE_DATA_RETENTION = "data_retention" - JOB_TYPE_SEARCH_INDEXING = "search_indexing" + JOB_TYPE_DATA_RETENTION = "data_retention" + JOB_TYPE_ELASTICSEARCH_POST_INDEXING = "elasticsearch_post_indexing" JOB_STATUS_PENDING = "pending" JOB_STATUS_IN_PROGRESS = "in_progress" @@ -44,7 +44,7 @@ func (j *Job) IsValid() *AppError { switch j.Type { case JOB_TYPE_DATA_RETENTION: - case JOB_TYPE_SEARCH_INDEXING: + case JOB_TYPE_ELASTICSEARCH_POST_INDEXING: default: return NewAppError("Job.IsValid", "model.job.is_valid.type.app_error", nil, "id="+j.Id, http.StatusBadRequest) } -- cgit v1.2.3-1-g7c22