diff --git a/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/TransportPutMappingAction.java b/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/TransportPutMappingAction.java index 9446c890637..e12a4a5a922 100644 --- a/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/TransportPutMappingAction.java +++ b/src/main/java/org/elasticsearch/action/admin/indices/mapping/put/TransportPutMappingAction.java @@ -80,10 +80,6 @@ public class TransportPutMappingAction extends TransportMasterNodeOperationActio @Override protected void masterOperation(final PutMappingRequest request, final ClusterState state, final ActionListener listener) throws ElasticSearchException { - ClusterState clusterState = clusterService.state(); - - // update to concrete indices - request.indices(clusterState.metaData().concreteIndices(request.indices())); metaDataMappingService.putMapping(new MetaDataMappingService.PutRequest(request.indices(), request.type(), request.source()).ignoreConflicts(request.ignoreConflicts()).timeout(request.timeout()).masterTimeout(request.masterNodeTimeout()), new MetaDataMappingService.Listener() { @Override