Skip to content

Commit

Permalink
fix health
Browse files Browse the repository at this point in the history
  • Loading branch information
talsabagport committed Nov 4, 2024
1 parent eedd41c commit aa4f599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion port_ocean/ocean.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from pydantic import BaseModel
from starlette.applications import Starlette
from starlette.middleware import Middleware
from starlette.requests import Request
from starlette.responses import JSONResponse
from starlette.routing import Route, Mount, Router
from starlette.types import Scope, Receive, Send
Expand Down Expand Up @@ -128,7 +129,7 @@ async def lifespan(_: FastAPI) -> AsyncIterator[None]:
finally:
signal_handler.exit()

async def health() -> JSONResponse:
async def health(request: Request) -> JSONResponse:
return JSONResponse({"ok": True})

self.starlette_app = Starlette(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "port-ocean"
version = "0.12.2-dev22"
version = "0.12.2-dev23"
description = "Port Ocean is a CLI tool for managing your Port projects."
readme = "README.md"
homepage = "https://app.getport.io"
Expand Down

0 comments on commit aa4f599

Please sign in to comment.