File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,7 @@ import (
37
37
38
38
// ServerlessWorkflowSpec defines a base API for integration test with operator-sdk
39
39
type ServerlessWorkflowSpec struct {
40
- BaseWorkflow model.BaseWorkflow `json:",inline"`
41
- Events []model.Event `json:"events,omitempty"`
42
- Functions []model.Function `json:"functions,omitempty"`
43
- Retries []model.Retry `json:"retries,omitempty"`
44
- // +kubebuilder:validation:MinItems=1
45
- // +kubebuilder:pruning:PreserveUnknownFields
46
- States []model.State `json:"states"`
40
+ model.Workflow `json:",inline"`
47
41
}
48
42
49
43
// ServerlessWorkflow ...
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ func (r *AuthArray) unmarshalMany(data []byte) error {
169
169
170
170
// Workflow base definition
171
171
type Workflow struct {
172
- BaseWorkflow
172
+ BaseWorkflow `json:",inline"`
173
173
// +kubebuilder:validation:MinItems=1
174
174
States []State `json:"states" validate:"required,min=1,dive"`
175
175
// +optional
You can’t perform that action at this time.
0 commit comments