Merge pull request #65 from keitaroinc/revert-58-patch-1

Revert "check_solr_connection bug fix"
This commit is contained in:
Blagoja Stojkoski 2022-01-21 11:20:18 +01:00 committed by GitHub
commit 6dea60e8fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -83,7 +83,6 @@ def check_solr_connection(retry=None):
conn_info = connection.read() conn_info = connection.read()
# SolrCloud # SolrCloud
conn_info = re.sub(r'"zkConnected":true', '"zkConnected":True', conn_info.decode('utf-8')) conn_info = re.sub(r'"zkConnected":true', '"zkConnected":True', conn_info.decode('utf-8'))
conn_info = re.sub(r'"zkConnected":false', '"zkConnected":False', conn_info.decode('utf-8'))
eval(conn_info) eval(conn_info)
def init_db(): def init_db():