Skip to content

Commit 9203813

Browse files
authored
NFS Fix + Godo version update v1.198.0 (#1871)
* Godo version update v1.198.0 * VPC IDs field removed
1 parent 2f002fb commit 9203813

10 files changed

Lines changed: 171 additions & 29 deletions

File tree

do/nfs.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -282,20 +282,9 @@ func nfsAccessPointFromGodo(ap *godo.NfsAccessPoint) *NfsAccessPoint {
282282
UpdatedAt: ap.UpdatedAt,
283283
IsDefault: ap.IsDefault,
284284
VpcID: ap.VpcID,
285-
VpcIDs: nfsAccessPointVpcIDs(ap),
286285
}
287286
}
288287

289-
func nfsAccessPointVpcIDs(ap *godo.NfsAccessPoint) []string {
290-
if len(ap.VpcIDs) > 0 {
291-
return ap.VpcIDs
292-
}
293-
if ap.VpcID != nil && *ap.VpcID != "" {
294-
return []string{*ap.VpcID}
295-
}
296-
return nil
297-
}
298-
299288
func nfsAccessPointActionResponseFromGodo(resp *godo.NfsAccessPointActionResponse) *NfsAccessPointActionResponse {
300289
if resp == nil {
301290
return nil

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.25.0
55
require (
66
github.com/blang/semver v3.5.1+incompatible
77
github.com/creack/pty v1.1.21
8-
github.com/digitalocean/godo v1.197.0
8+
github.com/digitalocean/godo v1.198.0
99
github.com/docker/cli v24.0.5+incompatible
1010
github.com/docker/docker v25.0.6+incompatible
1111
github.com/docker/docker-credential-helpers v0.7.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
9393
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
9494
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
9595
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
96-
github.com/digitalocean/godo v1.197.0 h1:9n0i/E+iX7BWFyWqNyNhBoxFPwfBEIe3rhnDFxK/lvs=
97-
github.com/digitalocean/godo v1.197.0/go.mod h1:xQsWpVCCbkDrWisHA72hPzPlnC+4W5w/McZY5ij9uvU=
96+
github.com/digitalocean/godo v1.198.0 h1:jylPVf1efxpOZnTOSc3K4a+Qse9pTl/AHu+GExthMNw=
97+
github.com/digitalocean/godo v1.198.0/go.mod h1:xQsWpVCCbkDrWisHA72hPzPlnC+4W5w/McZY5ij9uvU=
9898
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
9999
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
100100
github.com/docker/cli v24.0.5+incompatible h1:WeBimjvS0eKdH4Ygx+ihVq1Q++xg36M/rMi4aXAvodc=

vendor/github.com/digitalocean/godo/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/digitalocean/godo/databases.go

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/digitalocean/godo/godo.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/digitalocean/godo/gradientai.go

Lines changed: 120 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/digitalocean/godo/nfs.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/digitalocean/godo/vpc_nat_gateways.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ github.com/creack/pty
6464
# github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
6565
## explicit
6666
github.com/davecgh/go-spew/spew
67-
# github.com/digitalocean/godo v1.197.0
67+
# github.com/digitalocean/godo v1.198.0
6868
## explicit; go 1.23.0
6969
github.com/digitalocean/godo
7070
github.com/digitalocean/godo/metrics

0 commit comments

Comments
 (0)