Skip to content

Commit d27ef80

Browse files
event-reporter(refactoring): fixed lint issue
1 parent c5c0f08 commit d27ef80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event_reporter/reporter/event_payload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func getResourceEventPayloadErrors(
159159
rr *ReportedResource,
160160
reportedEntityParentApp *ReportedEntityParentApp,
161161
) []*events.ObjectError {
162-
var errors = []*events.ObjectError{}
162+
var errors []*events.ObjectError
163163

164164
if reportedEntityParentApp.app.Status.OperationState != nil {
165165
errors = append(errors, parseResourceSyncResultErrors(rr.rs, reportedEntityParentApp.app.Status.OperationState)...)

0 commit comments

Comments
 (0)