Skip to content

Commit

Permalink
Merge pull request #186 from ans-group/vpn-gw-fqdn-output
Browse files Browse the repository at this point in the history
Output VPN Gateway FQDN
  • Loading branch information
Xiol authored Nov 11, 2024
2 parents 0b050ef + 2d7915f commit d2a8ec3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/ecloud/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func OutputECloudIOPSTierProvider(tiers []ecloud.IOPSTier) output.OutputHandlerD
}

func OutputECloudVPNGatewaysProvider(gateways []ecloud.VPNGateway) output.OutputHandlerDataProvider {
return output.NewSerializedOutputHandlerDataProvider(gateways).WithDefaultFields([]string{"id", "name", "router_id", "specification_id", "sync_status"})
return output.NewSerializedOutputHandlerDataProvider(gateways).WithDefaultFields([]string{"id", "name", "fqdn", "router_id", "specification_id", "sync_status"})
}

func OutputECloudVPNGatewaySpecificationsProvider(specs []ecloud.VPNGatewaySpecification) output.OutputHandlerDataProvider {
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.22.0
toolchain go1.23.2

require (
github.com/ans-group/sdk-go v1.21.0
github.com/ans-group/sdk-go v1.21.1
github.com/blang/semver v3.5.1+incompatible
github.com/golang/mock v1.6.0
github.com/iancoleman/strcase v0.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/ans-group/go-durationstring v1.2.0 h1:UJIuQATkp0t1rBvZsHRwki33YHV9E+Ulro+3NbMB7MM=
github.com/ans-group/go-durationstring v1.2.0/go.mod h1:QGF9Mdpq9058QXaut8r55QWu6lcHX6i/GvF1PZVkV6o=
github.com/ans-group/sdk-go v1.21.0 h1:ORTzq0c+/x9wgzBsyMdm6jujLFho4ipMtzLqdutQc0s=
github.com/ans-group/sdk-go v1.21.0/go.mod h1:Dx34ZUbyHNniHAKsDy/vp8q8hQC5L51ub2sv9We7d8E=
github.com/ans-group/sdk-go v1.21.1 h1:5NUEVRqj0X6zw08akS8nqtnM0GgZikQ4XDoY3pb+RtQ=
github.com/ans-group/sdk-go v1.21.1/go.mod h1:Dx34ZUbyHNniHAKsDy/vp8q8hQC5L51ub2sv9We7d8E=
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down

0 comments on commit d2a8ec3

Please sign in to comment.