Removed needless concreteIndices call, already called in doExecute and set to the request object

This commit is contained in:
Luca Cavanna 2013-10-31 20:58:52 +01:00
parent 4206cc988e
commit 29363d8139
1 changed files with 0 additions and 4 deletions

View File

@ -80,10 +80,6 @@ public class TransportPutMappingAction extends TransportMasterNodeOperationActio
@Override
protected void masterOperation(final PutMappingRequest request, final ClusterState state, final ActionListener<PutMappingResponse> 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