lib/elasticsearch/api/actions/cat/master.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/cat/master.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -33,10 +33,10 @@
:master_timeout,
:h,
:help,
:v ]
- method = 'GET'
+ method = HTTP_GET
path = "_cat/master"
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil
perform_request(method, path, params, body).body