Skip to content

Commit

Permalink
Merge pull request #1974 from danaradg/event-broadcaster-log-fix
Browse files Browse the repository at this point in the history
🐛 Rearange `EventBroadcaster` log statement.
  • Loading branch information
k8s-ci-robot authored Aug 12, 2022
2 parents 5a88c51 + 43b0e4b commit b792a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/internal/recorder/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (p *Provider) getBroadcaster() record.EventBroadcaster {
broadcaster.StartRecordingToSink(&corev1client.EventSinkImpl{Interface: p.evtClient})
broadcaster.StartEventWatcher(
func(e *corev1.Event) {
p.logger.V(1).Info(e.Type, "object", e.InvolvedObject, "reason", e.Reason, "message", e.Message)
p.logger.V(1).Info(e.Message, "type", e.Type, "object", e.InvolvedObject, "reason", e.Reason)
})
p.broadcaster = broadcaster
p.stopBroadcaster = stop
Expand Down

0 comments on commit b792a7d

Please sign in to comment.