mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
@@ -313,7 +313,6 @@ func (r *Request) Class() string {
|
||||
}
|
||||
|
||||
return dns.Class(r.Req.Question[0].Qclass).String()
|
||||
|
||||
}
|
||||
|
||||
// QClass returns the class of the question in the request.
|
||||
@@ -327,7 +326,6 @@ func (r *Request) QClass() uint16 {
|
||||
}
|
||||
|
||||
return r.Req.Question[0].Qclass
|
||||
|
||||
}
|
||||
|
||||
// Clear clears all caching from Request s.
|
||||
|
||||
Reference in New Issue
Block a user