Skip to content

Commit

Permalink
chore(lint): replace pointer package use with ptr.To
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
displague authored Jun 19, 2024
1 parent 5ff0f9a commit 7f16226
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metal/loadbalancers.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"k8s.io/client-go/kubernetes"
cloudprovider "k8s.io/cloud-provider"
"k8s.io/klog/v2"
"k8s.io/utils/pointer"
"k8s.io/utils/ptr"
)

type loadBalancers struct {
Expand Down Expand Up @@ -439,13 +439,13 @@ func (l *loadBalancers) addService(ctx context.Context, svc *v1.Service, nodes [
input := &metal.IPReservationRequestInput{
Type: "public_ipv4",
Quantity: 1,
Details: pointer.String(ccmIPDescription),
Details: ptr.To(ccmIPDescription),
Tags: []string{
emTag,
svcTag,
clsTag,
},
FailOnApprovalRequired: pointer.Bool(true),
FailOnApprovalRequired: ptr.To(true),
}
req := &metal.RequestIPReservationRequest{
IPReservationRequestInput: input,
Expand Down

0 comments on commit 7f16226

Please sign in to comment.