ropensci / elastic

R client for the Elasticsearch HTTP API
https://docs.ropensci.org/elastic
Other
244 stars 58 forks source link

correct a bug: has_http not return altered object #112

Closed everdark closed 8 years ago

everdark commented 8 years ago

There is a bug concerning the has_http function. Where argument es_base has a value not containing "http://", it will prefix it but the altered string is never returned. Instead, a NULL is returned so the entire connect method will fall back to use the default value of "http://127.0.0.1".

sckott commented 8 years ago

thanks @everdark !