File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ func flattenVLANInterface(vlan *VLANInterface) *linodego.VLANInterface {
112112}
113113
114114func flattenLinodeInterface (li LinodeInterface ) (opts linodego.LinodeInterfaceCreateOptions ) {
115- opts .FirewallID = linodego . Pointer ( li .FirewallID )
115+ opts .FirewallID = li .FirewallID
116116
117117 if li .DefaultRoute != nil {
118118 opts .DefaultRoute = & linodego.InterfaceDefaultRoute {
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ func TestFlattenLinodeInterface_AllFields(t *testing.T) {
151151 }
152152
153153 got := flattenLinodeInterface (li )
154- if got .FirewallID == nil || * got .FirewallID == nil || * * got . FirewallID != 123 {
154+ if got .FirewallID == nil || * got .FirewallID != 123 {
155155 t .Fatalf ("firewall_id = %v, want 123" , got .FirewallID )
156156 }
157157 if got .DefaultRoute == nil || got .DefaultRoute .IPv4 == nil || ! * got .DefaultRoute .IPv4 {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ toolchain go1.25.7
77require (
88 github.com/hashicorp/hcl/v2 v2.24.0
99 github.com/hashicorp/packer-plugin-sdk v0.6.7
10- github.com/linode/linodego v1.66 .0
10+ github.com/linode/linodego v1.67 .0
1111 github.com/mitchellh/mapstructure v1.5.0
1212 github.com/zclconf/go-cty v1.16.3
1313 golang.org/x/crypto v0.49.0
Original file line number Diff line number Diff line change @@ -287,8 +287,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
287287github.com/kr/text v0.1.0 /go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI =
288288github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY =
289289github.com/kr/text v0.2.0 /go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE =
290- github.com/linode/linodego v1.66 .0 h1:rK8QJFaV53LWOEJvb/evhTg/dP5ElvtuZmx4iv4RJds =
291- github.com/linode/linodego v1.66 .0 /go.mod h1:12ykGs9qsvxE+OU3SXuW2w+DTruWF35FPlXC7gGk2tU =
290+ github.com/linode/linodego v1.67 .0 h1:pomhFuuCCJI4N6emtB9027h1yXHY2/MIT0hwHEFwvq4 =
291+ github.com/linode/linodego v1.67 .0 /go.mod h1:+9mbdu0P3WMRCl0QbVfiFavR+Iel7TCRDJk3nInyx14 =
292292github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 h1:2ZKn+w/BJeL43sCxI2jhPLRv73oVVOjEKZjKkflyqxg =
293293github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 /go.mod h1:kCEbxUJlNDEBNbdQMkPSp6yaKcRXVI6f4ddk8Riv4bc =
294294github.com/masterzen/winrm v0.0.0-20250927112105-5f8e6c707321 h1:AKIJL2PfBX2uie0Mn5pxtG1+zut3hAVMZbRfoXecFzI =
You can’t perform that action at this time.
0 commit comments