From ef6b31a697e7eaf9bcc31e7a786edcf036b27d8e Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Mon, 28 Oct 2024 04:37:47 -0400 Subject: [PATCH] fix: et autocreate makes eventtype id required (#8288) Signed-off-by: Cali0707 --- pkg/eventtype/eventtypes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/eventtype/eventtypes.go b/pkg/eventtype/eventtypes.go index 1bf7116213c..346e936542b 100644 --- a/pkg/eventtype/eventtypes.go +++ b/pkg/eventtype/eventtypes.go @@ -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",