Skip to content

Commit

Permalink
backport of commit a0d7fb6 (#24227)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Bennett <[email protected]>
  • Loading branch information
hc-github-team-nomad-core and gulducat authored Oct 16, 2024
1 parent 17515cc commit 9a7cb46
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions command/agent/consul/connect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"}},
))
})
}

Expand Down

0 comments on commit 9a7cb46

Please sign in to comment.