From 5c9da524f88bca44254bfcafc44daee5a24076a6 Mon Sep 17 00:00:00 2001 From: Shady Smaoui Date: Tue, 26 Nov 2024 10:19:28 +0100 Subject: [PATCH] feat: introduce endpoint probe --- .../mojos/deploy/local/rest/controller/ReadyzApiController.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/local-rest-scorer/src/main/java/ai/h2o/mojos/deploy/local/rest/controller/ReadyzApiController.java b/local-rest-scorer/src/main/java/ai/h2o/mojos/deploy/local/rest/controller/ReadyzApiController.java index 3023e354..1c2d95b1 100644 --- a/local-rest-scorer/src/main/java/ai/h2o/mojos/deploy/local/rest/controller/ReadyzApiController.java +++ b/local-rest-scorer/src/main/java/ai/h2o/mojos/deploy/local/rest/controller/ReadyzApiController.java @@ -5,7 +5,6 @@ import ai.h2o.mojos.deploy.common.transform.MojoScorer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RestController; @@ -16,7 +15,6 @@ public class ReadyzApiController implements ReadyzApi { private final MojoScorer scorer; private static final Logger log = LoggerFactory.getLogger(ReadyzApiController.class); - @Autowired public ReadyzApiController(MojoScorer scorer) { this.scorer = scorer; }