From c9651456b21528dee9e49b15e1793344c91ed9b7 Mon Sep 17 00:00:00 2001 From: oleksandr-codefresh Date: Thu, 7 Nov 2024 11:53:58 +0200 Subject: [PATCH] event-reporter(refactoring): fixed lint issue --- event_reporter/reporter/event_payload.go | 1 - 1 file changed, 1 deletion(-) diff --git a/event_reporter/reporter/event_payload.go b/event_reporter/reporter/event_payload.go index 051d267302991..4016fb8be8080 100644 --- a/event_reporter/reporter/event_payload.go +++ b/event_reporter/reporter/event_payload.go @@ -42,7 +42,6 @@ func getResourceEventPayload( if rr.rsAsAppInfo != nil && rr.rsAsAppInfo.revisionsMetadata != nil && len(object) != 0 { actualObject, err := appv1.UnmarshalToUnstructured(*rr.actualState.Manifest) - if err != nil { return nil, fmt.Errorf("failed to unmarshal manifest: %w", err) }