Skip to content

Commit 4f3b37b

Browse files
fix(flexible_ip): change ip_address type from IP to IPNet (#1410)
Co-authored-by: Jules Castéran <[email protected]>
1 parent 644a54a commit 4f3b37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/flexibleip/v1alpha1/flexibleip_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ type FlexibleIP struct {
245245
// Default value: unknown
246246
Status FlexibleIPStatus `json:"status"`
247247
// IPAddress: IP of the Flexible IP
248-
IPAddress net.IP `json:"ip_address"`
248+
IPAddress scw.IPNet `json:"ip_address"`
249249
// MacAddress: mAC address of the Flexible IP
250250
MacAddress *MACAddress `json:"mac_address"`
251251
// ServerID: ID of the server linked to the Flexible IP

0 commit comments

Comments
 (0)