Removed double masterNodeTimeout set in RestPutRepositoryAction

This commit is contained in:
Luca Cavanna 2014-01-17 15:38:51 +01:00
parent 13e6f1933b
commit 841db7c295
1 changed files with 0 additions and 1 deletions

View File

@ -50,7 +50,6 @@ public class RestPutRepositoryAction extends BaseRestHandler {
putRepositoryRequest.source(request.content().toUtf8()); putRepositoryRequest.source(request.content().toUtf8());
putRepositoryRequest.masterNodeTimeout(request.paramAsTime("master_timeout", putRepositoryRequest.masterNodeTimeout())); putRepositoryRequest.masterNodeTimeout(request.paramAsTime("master_timeout", putRepositoryRequest.masterNodeTimeout()));
putRepositoryRequest.timeout(request.paramAsTime("timeout", putRepositoryRequest.timeout())); putRepositoryRequest.timeout(request.paramAsTime("timeout", putRepositoryRequest.timeout()));
putRepositoryRequest.masterNodeTimeout(request.paramAsTime("master_timeout", putRepositoryRequest.masterNodeTimeout()));
client.admin().cluster().putRepository(putRepositoryRequest, new AcknowledgedRestResponseActionListener<PutRepositoryResponse>(request, channel, logger)); client.admin().cluster().putRepository(putRepositoryRequest, new AcknowledgedRestResponseActionListener<PutRepositoryResponse>(request, channel, logger));
} }
} }