Skip to content

Commit

Permalink
fix: et autocreate makes eventtype id required (#8288)
Browse files Browse the repository at this point in the history
Signed-off-by: Cali0707 <calumramurray@gmail.com>
  • Loading branch information
Cali0707 authored Oct 28, 2024
1 parent 4faf9c8 commit ef6b31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eventtype/eventtypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (h *EventTypeAutoHandler) AutoCreateEventType(ctx context.Context, event *e
{Name: "source", Value: source.String(), Required: true},
{Name: "schemadata", Value: schema.String(), Required: true},
{Name: "specversion", Value: event.SpecVersion(), Required: true},
{Name: "id", Required: false},
{Name: "id", Required: true},
},
Reference: addressable,
Description: "Event Type auto-created by controller",
Expand Down

0 comments on commit ef6b31a

Please sign in to comment.