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