refactor: ptr.Ptr to ptr.To

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig
2025-11-16 22:38:59 +01:00
parent 137decb1ec
commit 0eec65e230
18 changed files with 149 additions and 152 deletions
+4 -4
View File
@@ -116,7 +116,7 @@ var _ = Describe("Headers Suite", func() {
headers: []options.Header{
{
Name: "Claim",
PreserveRequestValue: ptr.Ptr(true),
PreserveRequestValue: ptr.To(true),
Values: []options.HeaderValue{
{
ClaimSource: &options.ClaimSource{
@@ -161,7 +161,7 @@ var _ = Describe("Headers Suite", func() {
headers: []options.Header{
{
Name: "Claim",
PreserveRequestValue: ptr.Ptr(true),
PreserveRequestValue: ptr.To(true),
Values: []options.HeaderValue{
{
ClaimSource: &options.ClaimSource{
@@ -386,7 +386,7 @@ var _ = Describe("Headers Suite", func() {
headers: []options.Header{
{
Name: "Claim",
PreserveRequestValue: ptr.Ptr(true),
PreserveRequestValue: ptr.To(true),
Values: []options.HeaderValue{
{
ClaimSource: &options.ClaimSource{
@@ -433,7 +433,7 @@ var _ = Describe("Headers Suite", func() {
headers: []options.Header{
{
Name: "Claim",
PreserveRequestValue: ptr.Ptr(true),
PreserveRequestValue: ptr.To(true),
Values: []options.HeaderValue{
{
ClaimSource: &options.ClaimSource{