Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spark_on_k8s/api/webserver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def ui_reverse_proxy(request: Request):
async def spark_history_reverse_proxy(request: Request):
spark_history_url = APIConfiguration.SPARK_ON_K8S_API_SPARK_HISTORY_HOST
if not spark_history_url:
return HTTPException(status_code=412, detail="SPARK_ON_K8S_API_SPARK_HISTORY_HOST is not set.")
raise HTTPException(status_code=412, detail="SPARK_ON_K8S_API_SPARK_HISTORY_HOST is not set.")
path = request.url.path.replace(router.prefix, "").lstrip("/").replace("ui-history/", "")
async_http_client = AsyncHttpClientSingleton.client()
spark_history_url = (
Expand Down
Loading