Skip to content

Commit 0a5b292

Browse files
Fix typo
1 parent bed6792 commit 0a5b292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

metis/v1/network/ip/results.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ type IPAddress struct {
3535
// and extracts the elements into a slice of IPAddress structs.
3636
func Extract(r pagination.Page) ([]IPAddress, error) {
3737
var s struct {
38-
IPAdresses []IPAddress `json:"items"`
38+
IPAddresses []IPAddress `json:"items"`
3939
}
4040
if err := (r.(v1.CommonPage)).ExtractInto(&s); err != nil {
4141
return nil, err
4242
}
43-
return s.IPAdresses, nil
43+
return s.IPAddresses, nil
4444
}
4545

4646
// GetResult represents the result of a get operation. Call its Extract method

0 commit comments

Comments
 (0)