From a6e909e9bc00240a06333f424b052d327747437d Mon Sep 17 00:00:00 2001 From: Rafal Foks Date: Mon, 9 Sep 2024 10:03:22 +0200 Subject: [PATCH] Fix imports --- internal/auditlogging/tests/auditlogging_test.go | 3 ++- .../controller/runtime/fsm/runtime_fsm_configure_auditlog.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/auditlogging/tests/auditlogging_test.go b/internal/auditlogging/tests/auditlogging_test.go index 6a74d9b4..37e541b5 100644 --- a/internal/auditlogging/tests/auditlogging_test.go +++ b/internal/auditlogging/tests/auditlogging_test.go @@ -3,6 +3,8 @@ package tests import ( "context" "fmt" + "testing" + gardener "github.com/gardener/gardener/pkg/apis/core/v1beta1" "github.com/kyma-project/infrastructure-manager/internal/auditlogging" "github.com/kyma-project/infrastructure-manager/internal/auditlogging/mocks" @@ -10,7 +12,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/utils/ptr" - "testing" ) func TestEnable(t *testing.T) { diff --git a/internal/controller/runtime/fsm/runtime_fsm_configure_auditlog.go b/internal/controller/runtime/fsm/runtime_fsm_configure_auditlog.go index 6d5a85d6..d37d735d 100644 --- a/internal/controller/runtime/fsm/runtime_fsm_configure_auditlog.go +++ b/internal/controller/runtime/fsm/runtime_fsm_configure_auditlog.go @@ -2,9 +2,10 @@ package fsm import ( "context" + "strings" + imv1 "github.com/kyma-project/infrastructure-manager/api/v1" ctrl "sigs.k8s.io/controller-runtime" - "strings" ) func sFnConfigureAuditLog(ctx context.Context, m *fsm, s *systemState) (stateFn, *ctrl.Result, error) {