Browse Source

Update sapl-logs/python-indexer.py

pull/3317/head
Edward 4 years ago
committed by GitHub
parent
commit
b24e84a457
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sapl-logs/python-indexer.py

2
sapl-logs/python-indexer.py

@ -175,7 +175,7 @@ def follow(fd):
@exp_backoff
def check_solr():
r = requests.get(SOLR_BASE_URL)
if r.status_code == 200:
if r.ok and r.status_code == 200:
print(f"Solr server at {SOLR_BASE_URL} is up and running...")
print("Checking collection health...")

Loading…
Cancel
Save