From 932beb707f21c861ca6c461981e08b478a36f6f8 Mon Sep 17 00:00:00 2001 From: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:23:21 -0400 Subject: [PATCH] sort imports Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --- util/app/discovery/discovery.go | 3 +-- util/app/discovery/discovery_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/util/app/discovery/discovery.go b/util/app/discovery/discovery.go index 9205acd668c6c..c7d3eabf1788e 100644 --- a/util/app/discovery/discovery.go +++ b/util/app/discovery/discovery.go @@ -3,13 +3,12 @@ package discovery import ( "context" "fmt" - securejoin "github.com/cyphar/filepath-securejoin" "os" "path/filepath" "strings" + securejoin "github.com/cyphar/filepath-securejoin" "github.com/golang/protobuf/ptypes/empty" - grpc_retry "github.com/grpc-ecosystem/go-grpc-middleware/retry" log "github.com/sirupsen/logrus" diff --git a/util/app/discovery/discovery_test.go b/util/app/discovery/discovery_test.go index c2eaf6bfdda37..bad68517f2187 100644 --- a/util/app/discovery/discovery_test.go +++ b/util/app/discovery/discovery_test.go @@ -2,15 +2,15 @@ package discovery import ( "context" - "github.com/argoproj/argo-cd/v2/cmpserver/apiclient" - cmpmocks "github.com/argoproj/argo-cd/v2/cmpserver/apiclient/mocks" - "github.com/argoproj/argo-cd/v2/util/app/discovery/mocks" - "github.com/stretchr/testify/mock" "testing" + "github.com/argoproj/argo-cd/v2/cmpserver/apiclient" + cmpmocks "github.com/argoproj/argo-cd/v2/cmpserver/apiclient/mocks" "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1" + "github.com/argoproj/argo-cd/v2/util/app/discovery/mocks" "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" )