diff --git a/images/ckan/2.9/setup/app/prerun.py b/images/ckan/2.9/setup/app/prerun.py index f31c719..2dc1301 100644 --- a/images/ckan/2.9/setup/app/prerun.py +++ b/images/ckan/2.9/setup/app/prerun.py @@ -83,6 +83,7 @@ def check_solr_connection(retry=None): conn_info = connection.read() # SolrCloud 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) def init_db():