diff --git a/pkg/limayaml/defaults_test.go b/pkg/limayaml/defaults_test.go index 7b59912ce875..d47d30c1d39d 100644 --- a/pkg/limayaml/defaults_test.go +++ b/pkg/limayaml/defaults_test.go @@ -110,12 +110,14 @@ func TestFillDefault(t *testing.T) { } defaultPortForward := PortForward{ - GuestIP: api.IPv4loopback1, - GuestPortRange: [2]int{1, 65535}, - HostIP: api.IPv4loopback1, - HostPortRange: [2]int{1, 65535}, - Proto: TCP, - Reverse: false, + GuestIP: api.IPv4loopback1, + GuestPortRange: [2]int{1, 65535}, + HostIP: api.IPv4loopback1, + HostPortRange: [2]int{1, 65535}, + Proto: TCP, + Reverse: false, + HostIPWasUndefined: true, + GuestIPWasUndefined: true, } // ------------------------------------------------------------------------------------