aboutsummaryrefslogtreecommitdiff
path: root/request
diff options
context:
space:
mode:
authorGravatar Guangming Wang <guangming.wang@daocloud.io> 2019-09-27 18:10:34 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-09-27 11:10:34 +0100
commit8af468558766a80af7025d6480389538a1c2c0ea (patch)
tree6e86078fed390fb4e1708b5f0d6ce64918a17381 /request
parentf2df37a1fe87d9a17f31ff8db3ea9c3387d10523 (diff)
downloadcoredns-8af468558766a80af7025d6480389538a1c2c0ea.tar.gz
coredns-8af468558766a80af7025d6480389538a1c2c0ea.tar.zst
coredns-8af468558766a80af7025d6480389538a1c2c0ea.zip
cleanup code by lint (#3312)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
Diffstat (limited to 'request')
-rw-r--r--request/request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/request/request.go b/request/request.go
index 0ce34816c..6f1a1de0e 100644
--- a/request/request.go
+++ b/request/request.go
@@ -358,7 +358,7 @@ func (r *Request) Match(reply *dns.Msg) bool {
return false
}
- if reply.Response == false {
+ if !reply.Response {
return false
}