From a0d7fb6b09577bfadbe7abe46ef6b2b7045a6c7c Mon Sep 17 00:00:00 2001 From: Daniel Bennett Date: Wed, 16 Oct 2024 08:23:44 -0500 Subject: [PATCH] connect: fix ipv6 bind_address test (#24216) --- command/agent/consul/connect_test.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/command/agent/consul/connect_test.go b/command/agent/consul/connect_test.go index 72ef5436d4b..efd251ae345 100644 --- a/command/agent/consul/connect_test.go +++ b/command/agent/consul/connect_test.go @@ -442,11 +442,9 @@ func TestConnect_connectProxyConfig(t *testing.T) { "bind_address": "::", "bind_port": 42, "envoy_stats_tags": []string{"nomad.alloc_id=ipv6_alloc"}, - }, connectProxyConfig(map[string]any{ - "bind_address": "::", - }, 42, structs.AllocInfo{AllocID: "ipv6_alloc"}, []*structs.NetworkResource{ - {Mode: "bridge", IP: "fd00:a110:c8::1"}, - })) + }, connectProxyConfig(nil, 42, structs.AllocInfo{AllocID: "ipv6_alloc"}, + []*structs.NetworkResource{{Mode: "bridge", IP: "fd00:a110:c8::1"}}, + )) }) }