Closed jfacorro closed 10 years ago
https://github.com/dieswaytoofast/erlasticsearch/blob/master/src/erlasticsearch.erl#L174
%% @equiv cluster_state(Destination, []). -spec cluster_state(destination()) -> response(). cluster_state(Destination) -> cluster_state(Destination, []). %% @doc Get the state of the ElasticSearch cluster -spec cluster_state(destination(), params()) -> response(). %% @equiv state(Destination, Params). cluster_state(Destination, Params) when is_list(Params) -> cluster_state(Destination, Params).
Fixed in 1.6.2
https://github.com/dieswaytoofast/erlasticsearch/blob/master/src/erlasticsearch.erl#L174