From 12063bff06ac3cd33ce81fc581ffd78a0f6958ce Mon Sep 17 00:00:00 2001 From: Frazer Horn Date: Mon, 25 Mar 2013 09:18:03 -0400 Subject: [PATCH] Use options where applicable within ClusterAdminProtocol --- lib/elasticsearch/transport/base_protocol.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/elasticsearch/transport/base_protocol.rb b/lib/elasticsearch/transport/base_protocol.rb index 3929f37..805abc2 100644 --- a/lib/elasticsearch/transport/base_protocol.rb +++ b/lib/elasticsearch/transport/base_protocol.rb @@ -188,15 +188,15 @@ def cluster_health(index_list, options={}) end def cluster_state(options={}) - standard_request(:get, {:index => "_cluster", :op => "state"}) + standard_request(:get, {:index => "_cluster", :op => "state"}, options, "") end def nodes_info(node_list, options={}) - standard_request(:get, {:index => "_cluster", :type => "nodes", :id => node_list}) + standard_request(:get, {:index => "_cluster", :type => "nodes", :id => node_list}, options, "") end def nodes_stats(node_list, options={}) - standard_request(:get, {:index => "_cluster", :type => "nodes", :id => node_list, :op => "stats"}) + standard_request(:get, {:index => "_cluster", :type => "nodes", :id => node_list, :op => "stats"}, options, "") end def shutdown_nodes(node_list, options={})