Skip to content

Commit

Permalink
fix gci linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Disper committed Mar 4, 2024
1 parent 11272f5 commit 94d8738
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ package main
import (
"flag"
"fmt"
"github.com/kyma-project/infrastructure-manager/internal/controller/metrics"
"os"
"time"

"github.com/gardener/gardener/pkg/apis/core/v1beta1"
gardener_apis "github.com/gardener/gardener/pkg/client/core/clientset/versioned/typed/core/v1beta1"
infrastructuremanagerv1 "github.com/kyma-project/infrastructure-manager/api/v1"
"github.com/kyma-project/infrastructure-manager/internal/controller"
"github.com/kyma-project/infrastructure-manager/internal/controller/metrics"
"github.com/kyma-project/infrastructure-manager/internal/gardener"
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
1 change: 0 additions & 1 deletion internal/controller/gardener_cluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ func (controller *GardenerClusterController) Reconcile(ctx context.Context, req

if err != nil {
if k8serrors.IsNotFound(err) {

controller.unsetStateMetric(ctx, req)
err = controller.deleteKubeconfigSecret(ctx, req.Name)
}
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ package controller

import (
"context"
metrics "github.com/kyma-project/infrastructure-manager/internal/controller/metrics"
"path/filepath"
"testing"
"time"

infrastructuremanagerv1 "github.com/kyma-project/infrastructure-manager/api/v1"
metrics "github.com/kyma-project/infrastructure-manager/internal/controller/metrics"
"github.com/kyma-project/infrastructure-manager/internal/controller/mocks"
. "github.com/onsi/ginkgo/v2" //nolint:revive
. "github.com/onsi/gomega" //nolint:revive
Expand Down

0 comments on commit 94d8738

Please sign in to comment.