Skip to content

Commit

Permalink
Fix typo in model server initialization (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedingber committed Oct 25, 2020
1 parent 0bf0a0b commit 6d76aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlrun/runtimes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def new_model_server(
handler=None,
):
if protocol:
new_v2_model_server(
return new_v2_model_server(
name,
model_class,
models=models,
Expand All @@ -61,7 +61,7 @@ def new_model_server(
canary=canary,
)
else:
new_v1_model_server(
return new_v1_model_server(
name,
model_class,
models=models,
Expand Down

0 comments on commit 6d76aa3

Please sign in to comment.