Skip to content

Commit

Permalink
Merge pull request #67 from lscheinkman/RES-1038
Browse files Browse the repository at this point in the history
Fix Elastic Logger env variable
  • Loading branch information
lscheinkman committed Sep 13, 2019
2 parents 1c598d4 + 56823b3 commit 32615bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nupic/research/support/elastic_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def create_elastic_client(**kwargs):
:return: Configured :class:`elasticsearch.Elasticsearch` client
:rtype: :class:`Elasticsearch`
"""
hosts = os.environ.get("ELASTIC_HOST")
hosts = os.environ.get("ELASTIC_HOSTS")
hosts = None if hosts is None else hosts.split(",")
elasticsearch_args = {
"cloud_id": os.environ.get("ELASTIC_CLOUD_ID"),
Expand Down

0 comments on commit 32615bc

Please sign in to comment.