changed name of solr vars

This commit is contained in:
filip.mihajlovski 2023-04-10 11:14:03 +02:00
parent 9c430247b8
commit 040336f854
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ def check_solr_connection(retry=None):
sys.exit(1) sys.exit(1)
url = os.environ.get('CKAN_SOLR_URL', '') url = os.environ.get('CKAN_SOLR_URL', '')
username = os.environ.get('SOLR_ADMIN_USERNAME', '') username = os.environ.get('CKAN_SOLR_USER', '')
password = os.environ.get('SOLR_ADMIN_PASSWORD', '') password = os.environ.get('CKAN_SOLR_PASSWORD', '')
search_url = '{url}/schema/name?wt=json'.format(url=url) search_url = '{url}/schema/name?wt=json'.format(url=url)