From 5a87c3511e70b48b92546902c2b606e57f884521 Mon Sep 17 00:00:00 2001 From: Victor Gama Date: Wed, 17 May 2023 22:31:25 -0300 Subject: [PATCH] fix: Update spec structs to account new fields --- pkg/limayaml/defaults_test.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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, } // ------------------------------------------------------------------------------------