Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0497bcc

Browse files
Merge pull request gophercloud#3422 from gophercloud/bp-v2-e8982ca
[v2] Fix documentation for gateway_ip in subnet update
2 parents 69244bc + bf5fea5 commit 0497bcc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

openstack/networking/v2/subnets/requests.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,8 @@ type UpdateOpts struct {
199199
// AllocationPools are IP Address pools that will be available for DHCP.
200200
AllocationPools []AllocationPool `json:"allocation_pools,omitempty"`
201201

202-
// GatewayIP sets gateway information for the subnet. Setting to nil will
203-
// cause a default gateway to automatically be created. Setting to an empty
204-
// string will cause the subnet to be created with no gateway. Setting to
202+
// GatewayIP sets gateway information for the subnet. Setting to an empty
203+
// string will cause the subnet to not have a gateway. Setting to
205204
// an explicit address will set that address as the gateway.
206205
GatewayIP *string `json:"gateway_ip,omitempty"`
207206

0 commit comments

Comments
 (0)