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

Skip to content

Commit 68c6e74

Browse files
authored
fix: invalid property in network add_subnet request body (#751)
Remove invalid gateway property in `add_subnet` action request body. https://docs.hetzner.cloud/reference/cloud#network-actions-add-a-subnet-to-a-network
1 parent 9da946b commit 68c6e74

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hcloud/schema/network.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ type NetworkActionAddSubnetRequest struct {
9595
Type string `json:"type"`
9696
IPRange string `json:"ip_range,omitempty"`
9797
NetworkZone string `json:"network_zone"`
98-
Gateway string `json:"gateway"`
9998
VSwitchID int64 `json:"vswitch_id,omitempty"`
10099
}
101100

0 commit comments

Comments
 (0)