Update hexanet servers

Fix registry commit checks following server migration
This commit is contained in:
Simon Marsh 2020-07-05 11:07:30 +01:00
parent c0a9793b51
commit 1eae7e5bac
No known key found for this signature in database
GPG Key ID: 30B29A716A54DBB3

10
dns.go
View File

@ -170,9 +170,11 @@ var dns_servers = []*DNSServer{
&DNSServer{"delegation", "foxcpp", "h.delegation-servers.dn42", 6, &DNSServer{"delegation", "foxcpp", "h.delegation-servers.dn42", 6,
"[fda6:2474:15a4::54]:53", 0}, "[fda6:2474:15a4::54]:53", 0},
&DNSServer{"Hexanet", "foxcpp", "ns1", 6, "[fda6:2474:15a4:445e::1]:53", 0}, &DNSServer{"Hexanet", "foxcpp", "epsilon", 6, "[fda6:2474:15a4:445e::1]:53", 0},
&DNSServer{"Hexanet", "foxcpp", "ns2", 6, "[fda6:2474:15a4:22f7::1]:53", 0}, &DNSServer{"Hexanet", "foxcpp", "iota", 6, "[fda6:2474:15a4:22f7::1]:53", 0},
&DNSServer{"Hexanet", "foxcpp", "ns3", 6, "[fda6:2474:15a4:1084::1]:53", 0}, &DNSServer{"Hexanet", "foxcpp", "gamma", 6, "[fda6:2474:15a4:1084::1]:53", 0},
&DNSServer{"Hexanet", "foxcpp", "sigma", 6, "[fda6:2474:15a4:dd05::1]:53", 0},
&DNSServer{"Hexanet", "foxcpp", "omicron", 6, "[fda6:2474:15a4:d788::1]:53", 0},
// yamakaja // yamakaja
@ -623,7 +625,7 @@ func (m *DNSCommitMetrics) FetchMasterCommit() (string, error) {
} }
for _, c := range mc { for _, c := range mc {
if c.URI == "https://git.dn42.us/dn42/registry.git" { if strings.HasSuffix(c.URI, "registry.git") {
return strings.ToLower(c.Commit), nil return strings.ToLower(c.Commit), nil
} }
} }