Skip to content

Commit

Permalink
fix: Fix json tag
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege committed Sep 4, 2019
1 parent 1166592 commit 517e844
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/controller/suggestions/v1alpha3/suggestion_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (
// SuggestionSpec defines the desired state of Suggestion
type SuggestionSpec struct {
// Number of suggestions requested
Suggestions int32 `json:"suggestions,omitempty"`
Suggestions *int32 `json:"suggestions,omitempty"`

//Algorithm settings set by the user in the experiment config
AlgorithmSpec *common.AlgorithmSpec `json:"algorithm_settings,omitempty"`
AlgorithmSpec *common.AlgorithmSpec `json:"algorithmSpec,omitempty"`
}

// SuggestionStatus defines the observed state of Suggestion
Expand Down

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

0 comments on commit 517e844

Please sign in to comment.