From 424b68ba35ba1a7aaac4dba13b2fb0cc245c8a23 Mon Sep 17 00:00:00 2001 From: oleksandr-codefresh Date: Wed, 13 Nov 2024 18:18:34 +0200 Subject: [PATCH] reporter: fix lint issue --- event_reporter/utils/app.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/event_reporter/utils/app.go b/event_reporter/utils/app.go index 84dbe01d15b27c..cbb1756b207709 100644 --- a/event_reporter/utils/app.go +++ b/event_reporter/utils/app.go @@ -4,8 +4,10 @@ import appv1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1" type AppRevisionsFieldNames string -var AppRevisionFieldName AppRevisionsFieldNames = "Revision" -var AppRevisionsFieldName AppRevisionsFieldNames = "Revisions" +var ( + AppRevisionFieldName AppRevisionsFieldNames = "Revision" + AppRevisionsFieldName AppRevisionsFieldNames = "Revisions" +) type AppUtils struct { App *appv1.Application