Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
fix: linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
supershal committed Apr 5, 2024
1 parent 7d4de20 commit 950eb29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
3 changes: 1 addition & 2 deletions pkg/handlers/aws/mutation/region/inject_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (

. "github.com/onsi/ginkgo/v2"
"github.com/onsi/gomega"
. "github.com/onsi/gomega"
runtimehooksv1 "sigs.k8s.io/cluster-api/exp/runtime/hooks/api/v1alpha1"

"github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/api/v1alpha1"
Expand All @@ -19,7 +18,7 @@ import (
)

func TestRegionPatch(t *testing.T) {
RegisterFailHandler(Fail)
gomega.RegisterFailHandler(Fail)
RunSpecs(t, "AWS Region mutator suite")
}

Expand Down
9 changes: 0 additions & 9 deletions pkg/handlers/nutanix/mutation/metapatch_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
etcdtests "github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/etcd/tests"
"github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/extraapiservercertsans"
extraapiservercertsanstests "github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/extraapiservercertsans/tests"
"github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/httpproxy"
httpproxytests "github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/httpproxy/tests"
"github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/imageregistries"
imageregistrycredentialstests "github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/imageregistries/credentials/tests"
"github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/pkg/handlers/generic/mutation/kubernetesimagerepository"
Expand Down Expand Up @@ -88,13 +86,6 @@ func TestGeneratePatches(t *testing.T) {
metaPatchGeneratorFunc(mgr),
)

httpproxytests.TestGeneratePatches(
t,
metaPatchGeneratorFunc(mgr),
clusterconfig.MetaVariableName,
httpproxy.VariableName,
)

etcdtests.TestGeneratePatches(
t,
metaPatchGeneratorFunc(mgr),
Expand Down

0 comments on commit 950eb29

Please sign in to comment.