Skip to content

Commit

Permalink
omit empty fields for studyjob status (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
hougangliu authored and k8s-ci-robot committed Jan 22, 2019
1 parent 15bbcae commit 8545970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/api/operators/apis/studyjob/v1alpha1/studyjob_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ type StudyJobStatus struct {

Condition Condition `json:"condition,omitempty"`
StudyID string `json:"studyid,omitempty"`
SuggestionParameterID string `json:"suggestionParameterId"`
EarlyStoppingParameterID string `json:"earlyStoppingParameterId"`
SuggestionParameterID string `json:"suggestionParameterId,omitempty"`
EarlyStoppingParameterID string `json:"earlyStoppingParameterId,omitempty"`
Trials []TrialSet `json:"trials,omitempty"`
BestObjectiveValue *float64 `json:"bestObjectiveValue,omitempty"`
BestTrialID string `json:"bestTrialId,omitempty"`
Expand Down

0 comments on commit 8545970

Please sign in to comment.