We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a28764 commit b372971Copy full SHA for b372971
controllers/utils/events.go
@@ -33,9 +33,6 @@ func (c *ComplianceEventSender) SendEvent(
33
compliance policyv1.ComplianceState,
34
) error {
35
msg = string(compliance) + "; " + msg
36
- if len([]rune(msg)) > 1024 {
37
- msg = string([]rune(msg)[:1021]) + "..."
38
- }
39
40
now := time.Now()
41
@@ -61,7 +58,6 @@ func (c *ComplianceEventSender) SendEvent(
61
58
FirstTimestamp: metav1.NewTime(now),
62
59
LastTimestamp: metav1.NewTime(now),
63
60
Count: 1,
64
- EventTime: metav1.NewMicroTime(now),
65
Action: "ComplianceStateUpdate",
66
ReportingController: c.ControllerName,
67
ReportingInstance: c.InstanceName,
0 commit comments