From a627eba9f54d591f6d73fb5abe854aee2b113da5 Mon Sep 17 00:00:00 2001 From: Sunjay Bhatia Date: Wed, 17 Jan 2024 17:29:59 -0500 Subject: [PATCH] fix tests Signed-off-by: Sunjay Bhatia --- internal/dag/builder_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/dag/builder_test.go b/internal/dag/builder_test.go index 707d0739d98..6318e3e64df 100644 --- a/internal/dag/builder_test.go +++ b/internal/dag/builder_test.go @@ -557,7 +557,7 @@ func TestDAGInsertGatewayAPI(t *testing.T) { gatewayclass: validClass, gateway: gatewayHTTPNamespaceSelector, objs: []any{ - core_v1.Namespace{ + &core_v1.Namespace{ ObjectMeta: meta_v1.ObjectMeta{ Name: "custom", Labels: map[string]string{ @@ -764,7 +764,7 @@ func TestDAGInsertGatewayAPI(t *testing.T) { gateway: gatewayTLSPassthroughNamespaceSelector, objs: []any{ kuardServiceCustomNs, - core_v1.Namespace{ + &core_v1.Namespace{ ObjectMeta: meta_v1.ObjectMeta{ Name: kuardServiceCustomNs.Namespace, Labels: map[string]string{"matching-label-key": "matching-label-value"}, @@ -1992,7 +1992,7 @@ func TestDAGInsertGatewayAPI(t *testing.T) { gatewayclass: validClass, gateway: gatewayHTTPSAllNamespaces, objs: []any{ - core_v1.Secret{ + &core_v1.Secret{ ObjectMeta: meta_v1.ObjectMeta{ Name: "tlscert", Namespace: "projectcontour",