Skip to content

Commit b8f572b

Browse files
committed
removed extra slash; added debugging logging
1 parent 74d6a60 commit b8f572b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/solr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def get_statistics_shards(self, time_period):
5959

6060
# URL for Solr status to check active cores
6161
solr_query_params = {"action": "STATUS", "wt": "json"}
62-
solr_url = self.solr_server + "/admin/cores"
62+
solr_url = self.solr_server + "admin/cores"
63+
self.logger.debug("Solr cores URL: %s", solr_url)
6364
response = requests.get(solr_url, params=solr_query_params)
6465

6566
if response.status_code == requests.codes.ok:

0 commit comments

Comments
 (0)