Skip to content

Commit

Permalink
Intger env fix
Browse files Browse the repository at this point in the history
  • Loading branch information
northpowered committed Sep 28, 2023
1 parent af8aac9 commit debac81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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 = "temporal-rest-executor"
version = "0.3.0"
version = "0.3.1"
description = ""
authors = ["Your Name <you@example.com>"]
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions src/executor/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -36,6 +36,6 @@
"PROMETHEUS_ENDPOINT_ENABLED", True
)

PROMETHEUS_ENDPOINT_PORT: str = getenv(
PROMETHEUS_ENDPOINT_PORT: int = int(getenv(
"PROMETHEUS_ENDPOINT_PORT", "9000"
)
))
2 changes: 1 addition & 1 deletion src/executor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


__title__: str = SERVICE_NAME
__version__: str = "0.3.0"
__version__: str = "0.3.1"


console = Console()
Expand Down

0 comments on commit debac81

Please sign in to comment.