Skip to content

Commit fa9cd06

Browse files
committed
Set EventRef.ResultEventRef to optional
Signed-off-by: Dmitrii Tikhomirov <chani.liet@gmail.com>
1 parent b9ff81b commit fa9cd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ type EventRef struct {
9696
// +kubebuilder:validation:Required
9797
TriggerEventRef string `json:"triggerEventRef" validate:"required"`
9898
// Reference to the unique name of a 'consumed' event definition
99-
// +kubebuilder:validation:Required
99+
// +optional
100100
ResultEventRef string `json:"resultEventRef" validate:"required"`
101101
// Maximum amount of time (ISO 8601 format) to wait for the result event. If not defined it be set to the
102102
// actionExecutionTimeout

0 commit comments

Comments
 (0)