Skip to content

Commit

Permalink
fix: include MachineStatusEvent into the list of supported events
Browse files Browse the repository at this point in the history
This is new Talos 1.2.0 event.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Sep 27, 2022
1 parent 16a84eb commit 61ab1c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/events/sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61ab1c4

Please sign in to comment.