Skip to content

Commit 7f2f13b

Browse files
committed
Replace v2->api url segment
It is not needed and I couldn't find it in the documentation. It now is constistent with the other calls.
1 parent 5fc69c2 commit 7f2f13b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/renku_data_services/solr/solr_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,6 @@ async def reload(self, core_name: str | None) -> Response:
806806
"""Reload a core with the given `core_name` or the name provided in the config object."""
807807
core = core_name or self.config.core
808808
return await self.delegate.post(
809-
f"/v2/cores/{core}/reload",
809+
f"/api/cores/{core}/reload",
810810
headers={"Content-Type": "application/json"},
811811
)

0 commit comments

Comments
 (0)