From 92807549ce10dfbba2701ca4d202ce7e715a8316 Mon Sep 17 00:00:00 2001 From: Aidan Obley Date: Tue, 14 Mar 2023 18:24:14 +0000 Subject: [PATCH] gci files fixing lint failures Signed-off-by: Aidan Obley Co-authored-by: Tyler Schultz --- internal/controllers/ipaddressclaim.go | 9 +++++---- internal/controllers/ipaddressclaim_test.go | 3 ++- main.go | 2 -- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/controllers/ipaddressclaim.go b/internal/controllers/ipaddressclaim.go index 711a8b9..d40f416 100644 --- a/internal/controllers/ipaddressclaim.go +++ b/internal/controllers/ipaddressclaim.go @@ -5,10 +5,6 @@ import ( "fmt" "github.com/pkg/errors" - "github.com/telekom/cluster-api-ipam-provider-in-cluster/api/v1alpha1" - "github.com/telekom/cluster-api-ipam-provider-in-cluster/internal/poolutil" - "github.com/telekom/cluster-api-ipam-provider-in-cluster/pkg/ipamutil" - ipampredicates "github.com/telekom/cluster-api-ipam-provider-in-cluster/pkg/predicates" "inet.af/netaddr" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" @@ -26,6 +22,11 @@ import ( "sigs.k8s.io/controller-runtime/pkg/controller" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" "sigs.k8s.io/controller-runtime/pkg/predicate" + + "github.com/telekom/cluster-api-ipam-provider-in-cluster/api/v1alpha1" + "github.com/telekom/cluster-api-ipam-provider-in-cluster/internal/poolutil" + "github.com/telekom/cluster-api-ipam-provider-in-cluster/pkg/ipamutil" + ipampredicates "github.com/telekom/cluster-api-ipam-provider-in-cluster/pkg/predicates" ) const ( diff --git a/internal/controllers/ipaddressclaim_test.go b/internal/controllers/ipaddressclaim_test.go index 439c201..12fc8bf 100644 --- a/internal/controllers/ipaddressclaim_test.go +++ b/internal/controllers/ipaddressclaim_test.go @@ -6,12 +6,13 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/telekom/cluster-api-ipam-provider-in-cluster/api/v1alpha1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/pointer" clusterv1 "sigs.k8s.io/cluster-api/exp/ipam/api/v1alpha1" . "sigs.k8s.io/controller-runtime/pkg/envtest/komega" + + "github.com/telekom/cluster-api-ipam-provider-in-cluster/api/v1alpha1" ) var IgnoreUIDsOnIPAddress = IgnorePaths{ diff --git a/main.go b/main.go index d8de2ab..17f61dc 100644 --- a/main.go +++ b/main.go @@ -20,8 +20,6 @@ import ( "flag" "os" - //+kubebuilder:scaffold:imports - "k8s.io/apimachinery/pkg/runtime" utilruntime "k8s.io/apimachinery/pkg/util/runtime" clientgoscheme "k8s.io/client-go/kubernetes/scheme"