Skip to content

Commit

Permalink
Bump github.com/linode/linodego from 1.27.1 to 1.28.0 (#186)
Browse files Browse the repository at this point in the history
* Bump github.com/linode/linodego from 1.27.1 to 1.28.0

Bumps [github.com/linode/linodego](https://github.com/linode/linodego) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/linode/linodego/releases)
- [Commits](linode/linodego@v1.27.1...v1.28.0)

---
updated-dependencies:
- dependency-name: github.com/linode/linodego
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Address linodego breaking change

* Fix test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lena Garber <lgarber@akamai.com>
  • Loading branch information
dependabot[bot] and lgarber-akamai authored Jan 29, 2024
1 parent a1b5018 commit 30a0c18
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion builder/linode/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@ func TestBuilderPrepare_NetworkInterfaces(t *testing.T) {

subnetID := 12345

anyStr := "any"

expectedInterfaces := []Interface{
{
Purpose: "public",
Expand All @@ -486,7 +488,7 @@ func TestBuilderPrepare_NetworkInterfaces(t *testing.T) {
SubnetID: &subnetID,
IPv4: &InterfaceIPv4{
VPC: "10.0.0.2",
NAT1To1: "any",
NAT1To1: &anyStr,
},
IPRanges: []string{"10.0.0.3/32"},
},
Expand Down
4 changes: 2 additions & 2 deletions builder/linode/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
)

type InterfaceIPv4 struct {
VPC string `mapstructure:"vpc"`
NAT1To1 string `mapstructure:"nat_1_1"`
VPC string `mapstructure:"vpc"`
NAT1To1 *string `mapstructure:"nat_1_1"`
}

type Interface struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.20
require (
github.com/hashicorp/hcl/v2 v2.19.1
github.com/hashicorp/packer-plugin-sdk v0.5.2
github.com/linode/linodego v1.27.1
github.com/linode/linodego v1.28.0
github.com/zclconf/go-cty v1.13.3
golang.org/x/crypto v0.18.0
golang.org/x/oauth2 v0.16.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/linode/linodego v1.27.1 h1:KoQm5g2fppw8qIClJqUEL0yKH0+f+7te3Mewagb5QKE=
github.com/linode/linodego v1.27.1/go.mod h1:5oAsx+uinHtVo6U77nXXXtox7MWzUW6aEkTOKXxA9uo=
github.com/linode/linodego v1.28.0 h1:lzxxJebsYg5cCWRNDLyL2StW3sfMyAwf/FYfxFjFrlk=
github.com/linode/linodego v1.28.0/go.mod h1:5oAsx+uinHtVo6U77nXXXtox7MWzUW6aEkTOKXxA9uo=
github.com/masterzen/simplexml v0.0.0-20160608183007-4572e39b1ab9/go.mod h1:kCEbxUJlNDEBNbdQMkPSp6yaKcRXVI6f4ddk8Riv4bc=
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 h1:2ZKn+w/BJeL43sCxI2jhPLRv73oVVOjEKZjKkflyqxg=
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786/go.mod h1:kCEbxUJlNDEBNbdQMkPSp6yaKcRXVI6f4ddk8Riv4bc=
Expand Down

0 comments on commit 30a0c18

Please sign in to comment.