Skip to content

Commit dc916e7

Browse files
authored
fix(ipam): change reverse address type to ip (#1976)
1 parent b3e610c commit dc916e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/ipam/v1/ipam_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ type Reverse struct {
137137
Hostname string `json:"hostname"`
138138

139139
// Address: IP corresponding to the hostname.
140-
Address *scw.IPNet `json:"address"`
140+
Address *net.IP `json:"address"`
141141
}
142142

143143
// Source: source.

api/ipam/v1alpha1/ipam_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ type Resource struct {
131131
type Reverse struct {
132132
Hostname string `json:"hostname"`
133133

134-
Address *scw.IPNet `json:"address"`
134+
Address *net.IP `json:"address"`
135135
}
136136

137137
// IP: ip.

0 commit comments

Comments
 (0)