test: refresh wire lb loopback-bind comment for siv-7

This commit is contained in:
joshsiv-mulga
2026-04-21 21:22:40 +10:00
parent b88dfdfdd9
commit 49b0b4e9a4
+4 -4
View File
@@ -116,10 +116,10 @@ func TestWireLBAgentConfig_GatewayURL_AWSGWBindOnly(t *testing.T) {
func TestWireLBAgentConfig_GatewayURL_LoopbackBindNoMgmtBridge(t *testing.T) { func TestWireLBAgentConfig_GatewayURL_LoopbackBindNoMgmtBridge(t *testing.T) {
// Production single-node without br-mgmt (mulga-siv-6 regression guard): // Production single-node without br-mgmt (mulga-siv-6 regression guard):
// awsgw.host defaults to 127.0.0.1 and the host has no mgmt bridge. The // operator explicitly passed --bind 127.0.0.1 and the host has no mgmt
// fallback must NOT write 127.0.0.1 into LB VM cloud-init — the VM's // bridge. The fallback must NOT write 127.0.0.1 into LB VM cloud-init —
// loopback is its own, not the host's. GatewayURL stays empty and the // the VM's loopback is its own, not the host's. GatewayURL stays empty
// daemon logs an error (handled downstream). // and the daemon logs an error (handled downstream).
cfg := &config.Config{ cfg := &config.Config{
AWSGW: config.AWSGWConfig{Host: "127.0.0.1:9999"}, AWSGW: config.AWSGWConfig{Host: "127.0.0.1:9999"},
} }