From 61ab1c43dd04faeb046c51dca7d891213762a31e Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 27 Sep 2022 16:50:51 +0400 Subject: [PATCH] fix: include MachineStatusEvent into the list of supported events This is new Talos 1.2.0 event. Signed-off-by: Andrey Smirnov --- pkg/events/sink.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/events/sink.go b/pkg/events/sink.go index 8a700e7..2f88e21 100644 --- a/pkg/events/sink.go +++ b/pkg/events/sink.go @@ -48,6 +48,7 @@ func (s *Sink) Publish(ctx context.Context, e *events.EventRequest) (*events.Eve &machine.ConfigLoadErrorEvent{}, &machine.ConfigValidationErrorEvent{}, &machine.AddressEvent{}, + &machine.MachineStatusEvent{}, } { if typeURL == "type.googleapis.com/"+string(eventType.ProtoReflect().Descriptor().FullName()) { msg = eventType