mirror of
https://github.com/coredns/coredns.git
synced 2026-02-17 12:43:09 -05:00
chore: bump Go version to 1.26.0 (#7856)
This commit is contained in:
@@ -23,8 +23,8 @@ func TestSortPreferred(t *testing.T) {
|
||||
test.CNAME("example.org. 300 IN CNAME alias.example.org."),
|
||||
}
|
||||
|
||||
subnets := []*net.IPNet{}
|
||||
cidrs := []string{"2001:db8::/32", "10.9.20.0/24", "10.9.30.0/24"}
|
||||
subnets := make([]*net.IPNet, 0, len(cidrs))
|
||||
for _, cidr := range cidrs {
|
||||
_, subnet, err := net.ParseCIDR(cidr)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user