Skip to content

Commit

Permalink
fix(CLOUDDEV-935): Fixed creating Subnet without Gateway ip
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Semenov committed Jan 27, 2025
1 parent f30152b commit 4721ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subnets.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type SubnetworkCreateRequest struct {
CIDR string `json:"cidr" required:"true"`
ConnectToNetworkRouter bool `json:"connect_to_network_router"`
DNSNameservers []net.IP `json:"dns_nameservers,omitempty"`
GatewayIP *net.IP `json:"gateway_ip,omitempty"`
GatewayIP *net.IP `json:"gateway_ip"`
Metadata Metadata `json:"metadata,omitempty"`
HostRoutes []HostRoute `json:"host_routes,omitempty"`
}
Expand Down

0 comments on commit 4721ca5

Please sign in to comment.