Skip to content

Commit 611b2a4

Browse files
Merge pull request #3421 from shiftstack/fix-subnet-update-docs
Fix documentation for gateway_ip in subnet update
2 parents 800e8d5 + e8982ca commit 611b2a4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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)