Island, BB: Rename clear_caches endpoint to clear-caches

This commit is contained in:
Ilija Lazoroski 2022-04-15 12:36:12 +02:00
parent 64fc9f2269
commit 1535832279
2 changed files with 2 additions and 2 deletions

View File

@ -117,6 +117,6 @@ class MonkeyIslandClient(object):
:raises: If error (by error code), raises the error
:return: The response
"""
response = self.requests.get("api/test/clear_caches")
response = self.requests.get("api/test/clear-caches")
response.raise_for_status()
return response

View File

@ -165,7 +165,7 @@ def init_api_resources(api):
# Resources used by black box tests
api.add_resource(MonkeyBlackboxEndpoint, "/api/test/monkey")
api.add_resource(ClearCaches, "/api/test/clear_caches")
api.add_resource(ClearCaches, "/api/test/clear-caches")
api.add_resource(LogBlackboxEndpoint, "/api/test/log")
api.add_resource(TelemetryBlackboxEndpoint, "/api/test/telemetry")