Add 'go vet' to pipeline and fix warning
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a657fc02c7
commit
b24bee40ef
@ -9,6 +9,7 @@ steps:
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
commands:
|
||||
- go vet
|
||||
- go build
|
||||
|
||||
- name: upload
|
||||
|
6
dns.go
6
dns.go
@ -394,7 +394,11 @@ func (s *DNSServer) Query() *DNSResult {
|
||||
|
||||
// query the dn42 root zone SOA
|
||||
msg.Question = []dns.Question{
|
||||
{"dn42.", dns.TypeSOA, dns.ClassINET},
|
||||
dns.Question{
|
||||
Name: "dn42.",
|
||||
Qtype: dns.TypeSOA,
|
||||
Qclass: dns.ClassINET,
|
||||
},
|
||||
}
|
||||
|
||||
// add EDNS0 options to also query the service ID (NSID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user