Skip to content

Commit 358f61d

Browse files
authored
docs(ipam): document expected format of requested IP (scaleway#2069)
1 parent 7b6fd12 commit 358f61d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/ipam/v1/ipam_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ type BookIPRequest struct {
209209
// IsIPv6: request an IPv6 instead of an IPv4.
210210
IsIPv6 bool `json:"is_ipv6"`
211211

212-
// Address: note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
212+
// Address: the requested address should not include the subnet mask (/suffix). Note that only the Private Network source allows you to pick a specific IP. If the requested IP is already booked, then the call will fail.
213213
Address *net.IP `json:"address,omitempty"`
214214

215215
// Tags: tags for the IP.

0 commit comments

Comments
 (0)