From 9f0d2f63147d5d20145dff2343743cfcb366db25 Mon Sep 17 00:00:00 2001 From: Dave Protasowski Date: Thu, 9 Jan 2025 22:29:45 -0500 Subject: [PATCH] use stdlib constants --- test/conformance/ingress/headers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/conformance/ingress/headers.go b/test/conformance/ingress/headers.go index 4488b446..8e971215 100644 --- a/test/conformance/ingress/headers.go +++ b/test/conformance/ingress/headers.go @@ -83,7 +83,7 @@ func TestProbeHeaders(t *testing.T) { t.Run(tt.name, func(t *testing.T) { t.Parallel() - req, err := http.NewRequest("GET", fmt.Sprintf("http://%s.%s", name, test.NetworkingFlags.ServiceDomain), nil) + req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("http://%s.%s", name, test.NetworkingFlags.ServiceDomain), nil) if err != nil { t.Fatal("Error creating request:", err) }