Skip to content

Commit

Permalink
quick custom spec fix (#2390)
Browse files Browse the repository at this point in the history
  • Loading branch information
animeshsingh authored and k8s-ci-robot committed Oct 15, 2019
1 parent 35ce841 commit fb614f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/kubeflow/kfserving/src/kfservingdeployer.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def customEndpointSpec(custom_model_spec):
image_pull_policy=custom_model_spec.get('image_pull_policy', None),
working_dir=custom_model_spec.get('working_dir', None)
)
return V1alpha2EndpointSpec(custom=V1alpha2CustomSpec(container=containerSpec))
return V1alpha2EndpointSpec(predictor=V1alpha2PredictorSpec(custom=V1alpha2CustomSpec(container=containerSpec)))


def InferenceService(metadata, default_model_spec, canary_model_spec=None, canary_model_traffic=None):
Expand Down

0 comments on commit fb614f0

Please sign in to comment.