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 (
3737
3838// ServerlessWorkflowSpec defines a base API for integration test with operator-sdk
3939type 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"`
4741}
4842
4943// ServerlessWorkflow ...
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ func (r *AuthArray) unmarshalMany(data []byte) error {
169169
170170// Workflow base definition
171171type Workflow struct {
172- BaseWorkflow
172+ BaseWorkflow `json:",inline"`
173173 // +kubebuilder:validation:MinItems=1
174174 States []State `json:"states" validate:"required,min=1,dive"`
175175 // +optional
You can’t perform that action at this time.
0 commit comments