Skip to content

Commit

Permalink
fixes linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Disper committed Sep 18, 2024
1 parent 538b69c commit 1a01f47
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions internal/controller/runtime/fsm/runtime_fsm_configure_oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package fsm
import (
"context"
"fmt"
"github.com/kyma-project/infrastructure-manager/internal/gardener/shoot"
k8serrors "k8s.io/apimachinery/pkg/api/errors"

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/gardener/shoot"
"github.com/kyma-project/infrastructure-manager/internal/gardener/shoot/extender"
"github.com/pkg/errors"
k8serrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
ctrl "sigs.k8s.io/controller-runtime"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/runtime/runtime_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package runtime

import (
"context"
"k8s.io/utils/ptr"
"time"

gardener "github.com/gardener/gardener/pkg/apis/core/v1beta1"
Expand All @@ -28,6 +27,7 @@ import (
k8serrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/utils/ptr"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/controller/runtime/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ package runtime
import (
"context"
"encoding/json"
gardener_oidc "github.com/gardener/oidc-webhook-authenticator/apis/authentication/v1alpha1"
"path/filepath"
"testing"
"time"

gardener_api "github.com/gardener/gardener/pkg/apis/core/v1beta1"
gardener_oidc "github.com/gardener/oidc-webhook-authenticator/apis/authentication/v1alpha1"
infrastructuremanagerv1 "github.com/kyma-project/infrastructure-manager/api/v1"
"github.com/kyma-project/infrastructure-manager/internal/auditlogging"
"github.com/kyma-project/infrastructure-manager/internal/controller/runtime/fsm"
Expand Down
3 changes: 2 additions & 1 deletion internal/gardener/shoot/oidc_defaulter_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package shoot

import (
"testing"

gardener "github.com/gardener/gardener/pkg/apis/core/v1beta1"
imv1 "github.com/kyma-project/infrastructure-manager/api/v1"
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/utils/ptr"
"testing"
)

func TestOidcDefaulter(t *testing.T) {
Expand Down

0 comments on commit 1a01f47

Please sign in to comment.