Skip to content

Commit

Permalink
Refactor to.Ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
hebelsan committed Apr 8, 2024
1 parent 4d6e5a3 commit 1a1d44a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/integration/bastion/bastion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import (
networkingv1 "k8s.io/api/networking/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/utils/pointer"
"k8s.io/utils/ptr"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/envtest"
Expand Down Expand Up @@ -127,7 +126,7 @@ var _ = BeforeSuite(func() {

By("starting test environment")
testEnv = &envtest.Environment{
UseExistingCluster: pointer.Bool(true),
UseExistingCluster: ptr.To(true),
CRDInstallOptions: envtest.CRDInstallOptions{
Paths: []string{
filepath.Join(repoRoot, "example", "20-crd-extensions.gardener.cloud_clusters.yaml"),
Expand Down

0 comments on commit 1a1d44a

Please sign in to comment.