diff --git a/pyproject.toml b/pyproject.toml index 0dfff1e..1a5d4e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "temporal-rest-executor" -version = "0.3.0" +version = "0.3.1" description = "" authors = ["Your Name "] readme = "README.md" diff --git a/src/executor/env.py b/src/executor/env.py index 1a28c9f..d0fed0f 100644 --- a/src/executor/env.py +++ b/src/executor/env.py @@ -6,7 +6,7 @@ UVICORN_BIND_ADDR: str = getenv("UVICORN_BIND_ADDR", "0.0.0.0") -UVICORN_BIND_PORT: int = getenv("UVICORN_BIND_PORT", 8000) +UVICORN_BIND_PORT: int = int(getenv("UVICORN_BIND_PORT", 8000)) TEMPORAL_ENDPOINT: str = getenv("TEMPORAL_ENDPOINT", "localhost:7233") @@ -36,6 +36,6 @@ "PROMETHEUS_ENDPOINT_ENABLED", True ) -PROMETHEUS_ENDPOINT_PORT: str = getenv( +PROMETHEUS_ENDPOINT_PORT: int = int(getenv( "PROMETHEUS_ENDPOINT_PORT", "9000" -) +)) diff --git a/src/executor/main.py b/src/executor/main.py index 14eb9a3..e171783 100644 --- a/src/executor/main.py +++ b/src/executor/main.py @@ -20,7 +20,7 @@ __title__: str = SERVICE_NAME -__version__: str = "0.3.0" +__version__: str = "0.3.1" console = Console()