diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 17:13:14 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-25 17:13:14 -0800 |
commit | 5aed3803affdb3f05b881cb90496180be45da440 (patch) | |
tree | 5a4de19de020ad063f5f85219ad24851ed7373c7 /fatcat_scholar/issue_db.py | |
parent | 3340910073bca6483937ed6d9e5f5b5942833c2e (diff) | |
download | fatcat-scholar-5aed3803affdb3f05b881cb90496180be45da440.tar.gz fatcat-scholar-5aed3803affdb3f05b881cb90496180be45da440.zip |
refactor ES configuration setting names
Diffstat (limited to 'fatcat_scholar/issue_db.py')
-rw-r--r-- | fatcat_scholar/issue_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py index bf79b09..e01c6d9 100644 --- a/fatcat_scholar/issue_db.py +++ b/fatcat_scholar/issue_db.py @@ -426,7 +426,7 @@ def main() -> None: api_conf = fatcat_openapi_client.Configuration() api_conf.host = settings.FATCAT_API_HOST api = fatcat_openapi_client.DefaultApi(fatcat_openapi_client.ApiClient(api_conf)) - es_client = elasticsearch.Elasticsearch(settings.FATCAT_ELASTICSEARCH_BACKEND) + es_client = elasticsearch.Elasticsearch(settings.ELASTICSEARCH_FATCAT_BASE) if args.func == "load_pubs": idb.load_pubs(args.json_file, api) |