Merge pull request #58 from Locutus66/patch-1
check_solr_connection bug fix
This commit is contained in:
commit
af186761bd
|
@ -83,6 +83,7 @@ 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():
|
||||||
|
|
Loading…
Reference in New Issue