We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bed6792 commit 0a5b292Copy full SHA for 0a5b292
metis/v1/network/ip/results.go
@@ -35,12 +35,12 @@ type IPAddress struct {
35
// and extracts the elements into a slice of IPAddress structs.
36
func Extract(r pagination.Page) ([]IPAddress, error) {
37
var s struct {
38
- IPAdresses []IPAddress `json:"items"`
+ IPAddresses []IPAddress `json:"items"`
39
}
40
if err := (r.(v1.CommonPage)).ExtractInto(&s); err != nil {
41
return nil, err
42
43
- return s.IPAdresses, nil
+ return s.IPAddresses, nil
44
45
46
// GetResult represents the result of a get operation. Call its Extract method
0 commit comments