From 6251aa8902b6bafa25896d6ac6c444f0e88b76f9 Mon Sep 17 00:00:00 2001 From: Arkadiusz Galwas Date: Mon, 21 Oct 2024 10:53:20 +0200 Subject: [PATCH] Linter --- internal/controller/runtime/fsm/runtime_fsm_configure_oidc.go | 2 +- internal/controller/runtime/fsm/runtime_fsm_patch_shoot.go | 2 +- internal/controller/runtime/suite_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/controller/runtime/fsm/runtime_fsm_configure_oidc.go b/internal/controller/runtime/fsm/runtime_fsm_configure_oidc.go index f94f5d12..2d4a9095 100644 --- a/internal/controller/runtime/fsm/runtime_fsm_configure_oidc.go +++ b/internal/controller/runtime/fsm/runtime_fsm_configure_oidc.go @@ -3,12 +3,12 @@ package fsm import ( "context" "fmt" - "github.com/kyma-project/infrastructure-manager/pkg/gardener/shoot/extender" gardener "github.com/gardener/gardener/pkg/apis/core/v1beta1" authenticationv1alpha1 "github.com/gardener/oidc-webhook-authenticator/apis/authentication/v1alpha1" imv1 "github.com/kyma-project/infrastructure-manager/api/v1" "github.com/kyma-project/infrastructure-manager/internal/config" + "github.com/kyma-project/infrastructure-manager/pkg/gardener/shoot/extender" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/internal/controller/runtime/fsm/runtime_fsm_patch_shoot.go b/internal/controller/runtime/fsm/runtime_fsm_patch_shoot.go index daf373a7..6682b5a3 100644 --- a/internal/controller/runtime/fsm/runtime_fsm_patch_shoot.go +++ b/internal/controller/runtime/fsm/runtime_fsm_patch_shoot.go @@ -2,11 +2,11 @@ package fsm import ( "context" - gardener_shoot "github.com/kyma-project/infrastructure-manager/pkg/gardener/shoot" gardener "github.com/gardener/gardener/pkg/apis/core/v1beta1" imv1 "github.com/kyma-project/infrastructure-manager/api/v1" "github.com/kyma-project/infrastructure-manager/internal/config" + gardener_shoot "github.com/kyma-project/infrastructure-manager/pkg/gardener/shoot" k8serrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/utils/ptr" ctrl "sigs.k8s.io/controller-runtime" diff --git a/internal/controller/runtime/suite_test.go b/internal/controller/runtime/suite_test.go index c31cbc8c..aaedd822 100644 --- a/internal/controller/runtime/suite_test.go +++ b/internal/controller/runtime/suite_test.go @@ -19,7 +19,6 @@ package runtime import ( "context" "encoding/json" - gardener_shoot "github.com/kyma-project/infrastructure-manager/pkg/gardener/shoot" "path/filepath" "testing" "time" @@ -30,6 +29,7 @@ import ( "github.com/kyma-project/infrastructure-manager/internal/auditlogging" "github.com/kyma-project/infrastructure-manager/internal/config" "github.com/kyma-project/infrastructure-manager/internal/controller/runtime/fsm" + gardener_shoot "github.com/kyma-project/infrastructure-manager/pkg/gardener/shoot" . "github.com/onsi/ginkgo/v2" //nolint:revive . "github.com/onsi/gomega" //nolint:revive "github.com/pkg/errors"