Skip to content

Commit

Permalink
update rest_predict_seldon hardcoded version in route (#4161)
Browse files Browse the repository at this point in the history
Co-authored-by: SGlover3 <seanglover@rocketmortgage.com>
  • Loading branch information
MarshHawk and SGlover3 authored Jun 18, 2022
1 parent eeef893 commit 43c9048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/seldon_core/seldon_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ def rest_predict_seldon(
payload = seldon_message_to_json(request)

response_raw = requests.post(
"http://" + gateway_endpoint + "/api/v0.1/predictions", json=payload
"http://" + gateway_endpoint + "/api/v1.0/predictions", json=payload
)
if response_raw.status_code == 200:
success = True
Expand Down

0 comments on commit 43c9048

Please sign in to comment.