dieswaytoofast / erlasticsearch

Erlang thrift interface to elastic_search
45 stars 18 forks source link

Call to cluster_state/[1,2] results in infinite loop #18

Closed jfacorro closed 10 years ago

jfacorro commented 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).
dieswaytoofast commented 10 years ago

Fixed in 1.6.2