Skip to content

Commit

Permalink
Use correct pointer lib
Browse files Browse the repository at this point in the history
  • Loading branch information
olim7t committed May 31, 2024
1 parent ee39ba3 commit 715de2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/k8ssandra/k8ssandracluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"fmt"
"k8s.io/utils/pointer"
"math/rand"
"reflect"
"testing"
Expand Down Expand Up @@ -2690,7 +2689,7 @@ func testGenerationCheck(t *testing.T, ctx context.Context, f *framework.Framewo
},
},
PodSecurityContext: &corev1.PodSecurityContext{
RunAsUser: pointer.Int64(999),
RunAsUser: ptr.To(int64(999)),
},
ManagementApiAuth: &cassdcapi.ManagementApiAuthConfig{
Insecure: &cassdcapi.ManagementApiAuthInsecureConfig{},
Expand Down

0 comments on commit 715de2f

Please sign in to comment.