From e52faa81cc7e028b11017b5b0b14866e5234bc95 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 1 Dec 2015 13:16:28 -0500 Subject: [PATCH] Fix typo in field name in MetaDataMappingService --- .../cluster/metadata/MetaDataMappingService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataMappingService.java b/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataMappingService.java index c2c05241679..c2725359140 100644 --- a/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataMappingService.java +++ b/core/src/main/java/org/elasticsearch/cluster/metadata/MetaDataMappingService.java @@ -53,7 +53,7 @@ public class MetaDataMappingService extends AbstractComponent { private final ClusterService clusterService; private final IndicesService indicesService; - final ClusterStateTaskExecutor refreshExectuor = new RefreshTaskExecutor(); + final ClusterStateTaskExecutor refreshExecutor = new RefreshTaskExecutor(); final ClusterStateTaskExecutor putMappingExecutor = new PutMappingExecutor(); private final NodeServicesProvider nodeServicesProvider; @@ -211,10 +211,10 @@ public class MetaDataMappingService extends AbstractComponent { public void refreshMapping(final String index, final String indexUUID, final String... types) { final RefreshTask refreshTask = new RefreshTask(index, indexUUID, types); clusterService.submitStateUpdateTask("refresh-mapping [" + index + "][" + Arrays.toString(types) + "]", - refreshTask, - ClusterStateTaskConfig.build(Priority.HIGH), - refreshExectuor, - (source, t) -> logger.warn("failure during [{}]", t, source) + refreshTask, + ClusterStateTaskConfig.build(Priority.HIGH), + refreshExecutor, + (source, t) -> logger.warn("failure during [{}]", t, source) ); }