From d10d5a0cce7d43411839b7c7c28a75150ea3a11f Mon Sep 17 00:00:00 2001 From: tnsetting Date: Fri, 5 Feb 2021 16:25:37 +0100 Subject: [PATCH] Fix goimports --- pkg/async/notifications/implementations/event_publisher.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/async/notifications/implementations/event_publisher.go b/pkg/async/notifications/implementations/event_publisher.go index 51ddcaed2..960ef2b82 100644 --- a/pkg/async/notifications/implementations/event_publisher.go +++ b/pkg/async/notifications/implementations/event_publisher.go @@ -2,9 +2,10 @@ package implementations import ( "context" - "k8s.io/apimachinery/pkg/util/sets" "strings" + "k8s.io/apimachinery/pkg/util/sets" + "github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin" "github.com/lyft/flyteadmin/pkg/async/notifications/interfaces" @@ -67,7 +68,7 @@ func newEventPublisherSystemMetrics(scope promutils.Scope) eventPublisherSystemM return eventPublisherSystemMetrics{ Scope: scope, PublishTotal: scope.MustNewCounter("event_publish_total", "overall count of publish messages"), - PublishSuccess: scope.MustNewCounter("event_publish_success", "sucess count of publish messages"), + PublishSuccess: scope.MustNewCounter("event_publish_success", "success count of publish messages"), PublishError: scope.MustNewCounter("event_publish_errors", "count of publish errors"), } }