Skip to content

Commit

Permalink
fix(docstring): fix docstring for XGB predictor. (kubeflow#1587)
Browse files Browse the repository at this point in the history
* fixe reference in comment

* regenerate code
  • Loading branch information
NikeNano committed May 3, 2021
1 parent ef9b0da commit 16f23e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/serving/v1beta1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/serving/v1beta1/predictor_xgboost.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// SKLearnSpec defines arguments for configuring SKLearn model serving.
// XGBoostSpec defines arguments for configuring XGBoost model serving.
type XGBoostSpec struct {
// Contains fields shared across all predictors
PredictorExtensionSpec `json:",inline"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/serving/v1beta1/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3775,7 +3775,7 @@
}
},
"v1beta1.XGBoostSpec": {
"description": "SKLearnSpec defines arguments for configuring SKLearn model serving.",
"description": "XGBoostSpec defines arguments for configuring XGBoost model serving.",
"type": "object",
"properties": {
"args": {
Expand Down

0 comments on commit 16f23e6

Please sign in to comment.