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 5cff2cd commit 0e3c0fb
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 0e3c0fb

Please sign in to comment.