feat: Normalize fields across various Boundary components (#5599)
Normalizes various IP/Address/Host fields across Boundary resources/components to comply with IPv6 specifications.
This commit is contained in:
37 files changed
+1028
-348
No files matched your search
@@ -95,6 +95,22 @@ func TestUnixListener(t *testing.T) {
|
||||
helper.ExpectWorkers(t, c1)
|
||||
|
||||
require.NoError(c1.Controller().Shutdown())
|
||||
|
||||
conf, err = config.DevController()
|
||||
require.NoError(err)
|
||||
|
||||
for _, l := range conf.Listeners {
|
||||
switch l.Purpose[0] {
|
||||
case "api":
|
||||
l.Address = path.Join(tempDir, "api")
|
||||
l.Type = "unix"
|
||||
|
||||
case "cluster":
|
||||
l.Address = path.Join(tempDir, "cluster")
|
||||
l.Type = "unix"
|
||||
}
|
||||
}
|
||||
|
||||
c2 := controller.NewTestController(t, &controller.TestControllerOpts{
|
||||
Config: conf,
|
||||
Logger: logger.Named("c2"),
|
||||
|
||||
Reference in new issue
Block a user