chore: bump Go version to 1.26.0 (#7856)

This commit is contained in:
Ville Vesilehto
2026-02-16 14:26:18 +02:00
committed by GitHub
parent 0f0a9920b1
commit b1080a2934
20 changed files with 34 additions and 32 deletions

View File

@@ -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 {