From 8f42a558e8db5d6b62388d9886e87f265df344ab Mon Sep 17 00:00:00 2001 From: oleksandr-codefresh Date: Fri, 25 Oct 2024 13:30:20 +0300 Subject: [PATCH] chore (event-reporter): fix lint issue --- event_reporter/reporter/application_event_reporter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/event_reporter/reporter/application_event_reporter.go b/event_reporter/reporter/application_event_reporter.go index 490f14e5dbe67..a64cd1c0a1f82 100644 --- a/event_reporter/reporter/application_event_reporter.go +++ b/event_reporter/reporter/application_event_reporter.go @@ -4,7 +4,6 @@ import ( "context" "encoding/json" "fmt" - metrics_utils "github.com/argoproj/argo-cd/v2/event_reporter/metrics/utils" "math" "reflect" "strings" @@ -28,6 +27,7 @@ import ( "k8s.io/apimachinery/pkg/watch" appclient "github.com/argoproj/argo-cd/v2/event_reporter/application" + metricsUtils "github.com/argoproj/argo-cd/v2/event_reporter/metrics/utils" "github.com/argoproj/argo-cd/v2/pkg/apiclient/application" appv1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1" ) @@ -116,7 +116,7 @@ func (s *applicationEventReporter) StreamApplicationEvents( appInstanceLabelKey string, trackingMethod appv1.TrackingMethod, ) error { - metricTimer := metrics_utils.NewMetricTimer() + metricTimer := metricsUtils.NewMetricTimer() logCtx := log.WithField("app", a.Name) logCtx.WithField("ignoreResourceCache", ignoreResourceCache).Info("streaming application events")