Skip to content

Commit fda947c

Browse files
committed
fix: double import linter
1 parent 9253b0e commit fda947c

File tree

1 file changed

+1
-2
lines changed
  • pkg/handlers/generic/mutation/extraapiservercertsans

1 file changed

+1
-2
lines changed

pkg/handlers/generic/mutation/extraapiservercertsans/inject.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
runtimehooksv1 "sigs.k8s.io/cluster-api/exp/runtime/hooks/api/v1alpha1"
1414
ctrl "sigs.k8s.io/controller-runtime"
1515
"sigs.k8s.io/controller-runtime/pkg/client"
16-
ctrlclient "sigs.k8s.io/controller-runtime/pkg/client"
1716

1817
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/api/v1alpha1"
1918
"github.com/nutanix-cloud-native/cluster-api-runtime-extensions-nutanix/common/pkg/capi/clustertopology/handlers/mutation"
@@ -52,7 +51,7 @@ func (h *extraAPIServerCertSANsPatchHandler) Mutate(
5251
obj *unstructured.Unstructured,
5352
vars map[string]apiextensionsv1.JSON,
5453
holderRef runtimehooksv1.HolderReference,
55-
clusterKey ctrlclient.ObjectKey,
54+
clusterKey client.ObjectKey,
5655
_ mutation.ClusterGetter,
5756
) error {
5857
log := ctrl.LoggerFrom(ctx).WithValues(

0 commit comments

Comments
 (0)