From 17a0ef3310c55a3693b6ce64ecbd31f0ff061593 Mon Sep 17 00:00:00 2001 From: oleksandr-codefresh Date: Fri, 27 Sep 2024 18:13:19 +0300 Subject: [PATCH] event-reporter: fix lint issues --- event_reporter/utils/app_revision.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/event_reporter/utils/app_revision.go b/event_reporter/utils/app_revision.go index ba770a648b15f5..49c26d8657992a 100644 --- a/event_reporter/utils/app_revision.go +++ b/event_reporter/utils/app_revision.go @@ -155,7 +155,6 @@ func AddCommitsDetailsToAnnotations(unstrApp *unstructured.Unstructured, revisio } jsonRevisionsMetadata, err := json.Marshal(revisionsMetadata) - if err != nil { return unstrApp } @@ -175,7 +174,6 @@ func AddCommitsDetailsToAppAnnotations(app appv1.Application, revisionsMetadata } jsonRevisionsMetadata, err := json.Marshal(revisionsMetadata) - if err != nil { return app }