Skip to content

Commit

Permalink
fix error in endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend committed Feb 26, 2024
1 parent 52ad062 commit ae19778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vector-serve/app/routes/health.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ class AliveResponse(BaseModel):


@router.get("/ready", response_model=ReadyResponse)
def model_info() -> ReadyResponse:
def ready() -> ReadyResponse:
logging.debug("Health check")
return ReadyResponse(
ready=True,
)


@router.get("/alive", response_model=AliveResponse)
def model_info() -> AliveResponse:
def alive() -> AliveResponse:
logging.debug("Health check")
return AliveResponse(
alive=True,
Expand Down

0 comments on commit ae19778

Please sign in to comment.