Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Apr 25, 2024
1 parent 3888b73 commit 7fff368
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion haupt/haupt/proxies/schemas/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_auth_location_config(resolver: str, is_local_service: bool = False):
resolver = ""
header_host = get_header_host(service)
if settings.PROXIES_CONFIG.has_forward_proxy:
service = get_service_proxy(protocol=settings.PROXIES_CONFIG.forward_proxy_porotcol)
service = get_service_proxy(protocol=settings.PROXIES_CONFIG.forward_proxy_protocol)
return get_config(
options=AUTH_LOCATION_CONFIG if settings.PROXIES_CONFIG.auth_enabled else "",
indent=0,
Expand Down
2 changes: 1 addition & 1 deletion haupt/haupt/proxies/schemas/gateway/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get_api_location_config(resolver: str, auth=str):
ssl_server_name = get_ssl_server_name(service)
header_host = get_header_host(service)
if settings.PROXIES_CONFIG.has_forward_proxy:
service = get_service_proxy(settings.PROXIES_CONFIG.forward_proxy_porotcol)
service = get_service_proxy(settings.PROXIES_CONFIG.forward_proxy_protocol)
config = [
get_api_config(
path="= /",
Expand Down
2 changes: 1 addition & 1 deletion haupt/haupt/schemas/proxies_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class ProxiesConfig(BaseSchemaModel):
has_forward_proxy: Optional[bool] = Field(alias=ENV_KEYS_PROXY_HAS_FORWARD_PROXY)
forward_proxy_port: Optional[int] = Field(alias=ENV_KEYS_PROXY_FORWARD_PROXY_PORT)
forward_proxy_host: Optional[str] = Field(alias=ENV_KEYS_PROXY_FORWARD_PROXY_HOST)
forward_proxy_porotcol: Optional[str] = Field(alias=ENV_KEYS_PROXY_FORWARD_PROXY_PROTOCOL)
forward_proxy_protocol: Optional[str] = Field(alias=ENV_KEYS_PROXY_FORWARD_PROXY_PROTOCOL)
forward_proxy_kind: Optional[Literal["transparent", "connect"]] = Field(
alias=ENV_KEYS_PROXY_FORWARD_PROXY_KIND
)
Expand Down

0 comments on commit 7fff368

Please sign in to comment.