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) {