Skip to content

Commit fbbec81

Browse files
committed
proxmoxcluster_webhook: goimports
1 parent b4d79c2 commit fbbec81

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

internal/webhook/proxmoxcluster_webhook.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ import (
2424
"regexp"
2525
"strings"
2626

27-
infrav1 "github.com/ionos-cloud/cluster-api-provider-proxmox/api/v1alpha1"
2827
"github.com/pkg/errors"
2928
"go4.org/netipx"
3029
apierrors "k8s.io/apimachinery/pkg/api/errors"
3130
"k8s.io/apimachinery/pkg/runtime"
3231
"k8s.io/apimachinery/pkg/util/validation/field"
3332
ctrl "sigs.k8s.io/controller-runtime"
3433
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
34+
35+
infrav1 "github.com/ionos-cloud/cluster-api-provider-proxmox/api/v1alpha1"
3536
)
3637

3738
var _ admission.CustomValidator = &ProxmoxCluster{}

internal/webhook/proxmoxcluster_webhook_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ package webhook
1919
import (
2020
"time"
2121

22-
infrav1 "github.com/ionos-cloud/cluster-api-provider-proxmox/api/v1alpha1"
2322
. "github.com/onsi/ginkgo/v2"
2423
. "github.com/onsi/gomega"
2524
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2625
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
2726
"sigs.k8s.io/controller-runtime/pkg/client"
27+
28+
infrav1 "github.com/ionos-cloud/cluster-api-provider-proxmox/api/v1alpha1"
2829
)
2930

3031
var _ = Describe("Controller Test", func() {

0 commit comments

Comments
 (0)