Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Update service.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jecos authored Sep 15, 2020
1 parent a657ece commit 3fa07a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def handler(event, context):
"""
es_host = os.environ.get('es_host', 'localhost')
es_port = os.environ.get('es_port', '9200')
es_scheme = os.environ.get('es_ssl', 'http')
es_scheme = os.environ.get('es_scheme', 'http')
es = Elasticsearch([{'host': es_host, 'port': es_port}], scheme=es_scheme)
es.indices.create('member', body=MEMBER_INDEX, ignore=400)
records = transform(event)
Expand Down

0 comments on commit 3fa07a8

Please sign in to comment.