Skip to content

Commit

Permalink
fix: issue in gcp app
Browse files Browse the repository at this point in the history
  • Loading branch information
zac-li committed Jan 16, 2024
1 parent a3dfc9c commit 90d4943
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion jina/serve/runtimes/worker/http_gcp_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ async def process(body) -> output_model:
raise HTTPException(status_code=499, detail=status.description)

Check warning on line 129 in jina/serve/runtimes/worker/http_gcp_app.py

View check run for this annotation

Codecov / codecov/patch

jina/serve/runtimes/worker/http_gcp_app.py#L128-L129

Added lines #L128 - L129 were not covered by tests
else:
return {"predictions": resp.docs}

Check warning on line 131 in jina/serve/runtimes/worker/http_gcp_app.py

View check run for this annotation

Codecov / codecov/patch

jina/serve/runtimes/worker/http_gcp_app.py#L131

Added line #L131 was not covered by tests
return output_model(predictions=resp.docs)

@app.api_route(**app_kwargs)
async def post(request: Request):
Expand Down

0 comments on commit 90d4943

Please sign in to comment.