Skip to content

Commit

Permalink
Remove not used Event fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok committed Aug 18, 2023
1 parent 1f48164 commit 138c578
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/source/kubernetes/event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ import (
type Event struct {
APIVersion string
Kind string
Code string
Title string
Name string
Namespace string
Messages []string
Type config.EventType
Reason string
Error string
Level config.Level
Cluster string
TimeStamp time.Time
Expand All @@ -34,7 +32,6 @@ type Event struct {
Resource string
Recommendations []string
Warnings []string
Actions []Action

// The following fields are ignored when marshalling the event by purpose.
// We send the whole Event struct via sink.Elasticsearch integration.
Expand Down

0 comments on commit 138c578

Please sign in to comment.