Skip to content

Commit d2a8ec3

Browse files
authored
Merge pull request #186 from ans-group/vpn-gw-fqdn-output
Output VPN Gateway FQDN
2 parents 0b050ef + 2d7915f commit d2a8ec3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

cmd/ecloud/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ func OutputECloudIOPSTierProvider(tiers []ecloud.IOPSTier) output.OutputHandlerD
485485
}
486486

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

491491
func OutputECloudVPNGatewaySpecificationsProvider(specs []ecloud.VPNGatewaySpecification) output.OutputHandlerDataProvider {

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.22.0
55
toolchain go1.23.2
66

77
require (
8-
github.com/ans-group/sdk-go v1.21.0
8+
github.com/ans-group/sdk-go v1.21.1
99
github.com/blang/semver v3.5.1+incompatible
1010
github.com/golang/mock v1.6.0
1111
github.com/iancoleman/strcase v0.3.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github.com/ans-group/go-durationstring v1.2.0 h1:UJIuQATkp0t1rBvZsHRwki33YHV9E+Ulro+3NbMB7MM=
22
github.com/ans-group/go-durationstring v1.2.0/go.mod h1:QGF9Mdpq9058QXaut8r55QWu6lcHX6i/GvF1PZVkV6o=
3-
github.com/ans-group/sdk-go v1.21.0 h1:ORTzq0c+/x9wgzBsyMdm6jujLFho4ipMtzLqdutQc0s=
4-
github.com/ans-group/sdk-go v1.21.0/go.mod h1:Dx34ZUbyHNniHAKsDy/vp8q8hQC5L51ub2sv9We7d8E=
3+
github.com/ans-group/sdk-go v1.21.1 h1:5NUEVRqj0X6zw08akS8nqtnM0GgZikQ4XDoY3pb+RtQ=
4+
github.com/ans-group/sdk-go v1.21.1/go.mod h1:Dx34ZUbyHNniHAKsDy/vp8q8hQC5L51ub2sv9We7d8E=
55
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=
66
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
77
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=

0 commit comments

Comments
 (0)