Skip to content

Commit 5898f29

Browse files
committed
lint errors
1 parent d90a114 commit 5898f29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cdncheck.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (c *Client) getCDNData(httpClient *http.Client) error {
8989
if err != nil {
9090
continue
9191
}
92-
ranger.Insert(cidranger.NewBasicRangerEntry(*network))
92+
_ = ranger.Insert(cidranger.NewBasicRangerEntry(*network))
9393
}
9494
}
9595
if c.Options.HasAuthInfo() {
@@ -106,7 +106,7 @@ func (c *Client) getCDNData(httpClient *http.Client) error {
106106
if err != nil {
107107
continue
108108
}
109-
ranger.Insert(cidranger.NewBasicRangerEntry(*network))
109+
_ = ranger.Insert(cidranger.NewBasicRangerEntry(*network))
110110
}
111111
}
112112
}
@@ -129,7 +129,7 @@ func (c *Client) getCDNDataFromCache(httpClient *http.Client) error {
129129
if err != nil {
130130
continue
131131
}
132-
ranger.Insert(cidranger.NewBasicRangerEntry(*network))
132+
_ = ranger.Insert(cidranger.NewBasicRangerEntry(*network))
133133
}
134134
c.rangers[provider] = ranger
135135
}

0 commit comments

Comments
 (0)