Skip to content

Commit

Permalink
chore (event-reporter): fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-codefresh committed Oct 25, 2024
1 parent ca203a2 commit 8f42a55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions event_reporter/reporter/application_event_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"fmt"
metrics_utils "github.com/argoproj/argo-cd/v2/event_reporter/metrics/utils"
"math"
"reflect"
"strings"
Expand All @@ -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"
)
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 8f42a55

Please sign in to comment.