From ec278ffe0acbaa2cf3a7dd77324fb927e9953945 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Fri, 19 Jun 2020 15:50:42 +0100 Subject: [PATCH] Fix log lines --- .../java/uk/ac/ic/wlgitbridge/server/HealthCheckHandler.java | 2 +- .../main/java/uk/ac/ic/wlgitbridge/server/StatusHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/HealthCheckHandler.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/HealthCheckHandler.java index 74f962fb65..120b2d6163 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/HealthCheckHandler.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/HealthCheckHandler.java @@ -29,7 +29,7 @@ public class HealthCheckHandler extends AbstractHandler { HttpServletResponse response ) throws IOException { if ("GET".equals(baseRequest.getMethod()) && "/health_check".equals(target)) { - Log.info("GET <- /api/health_check"); + Log.info("GET <- /health_check"); baseRequest.setHandled(true); response.setContentType("text/plain"); if (bridge.healthCheck()) { diff --git a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/StatusHandler.java b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/StatusHandler.java index fc60aa8057..802db35bd1 100644 --- a/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/StatusHandler.java +++ b/services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/server/StatusHandler.java @@ -29,7 +29,7 @@ public class StatusHandler extends AbstractHandler { HttpServletResponse response ) throws IOException { if ("GET".equals(baseRequest.getMethod()) && "/status".equals(target)) { - Log.info("GET <- /api/status"); + Log.info("GET <- /status"); baseRequest.setHandled(true); response.setContentType("text/plain"); response.setStatus(200);