mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
cleanup code by lint (#3312)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
committed by
Miek Gieben
parent
f2df37a1fe
commit
8af4685587
@@ -358,7 +358,7 @@ func (r *Request) Match(reply *dns.Msg) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
if reply.Response == false {
|
||||
if !reply.Response {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user