lib/elasticsearch/api/actions/indices/get_alias.rb in elasticsearch-api-1.0.6 vs lib/elasticsearch/api/actions/indices/get_alias.rb in elasticsearch-api-1.0.7
- old
+ new
@@ -36,10 +36,10 @@
:allow_no_indices,
:expand_wildcards,
:local
]
- method = 'GET'
+ method = HTTP_GET
path = Utils.__pathify Utils.__listify(arguments[:index]), '_alias', Utils.__escape(arguments[:name])
params = Utils.__validate_and_extract_params arguments, valid_params
body = nil