mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
all: gometalinter (#843)
* kubernetes/reverse: remove deadcode * deadcode in errors and kubernetes removed * unnecessary conversion * constants * proxy: time.Since() * simplications * static check * Disable test/external_test
This commit is contained in:
@@ -118,7 +118,7 @@ func (r *Request) Size() int {
|
||||
|
||||
size := 0
|
||||
if o := r.Req.IsEdns0(); o != nil {
|
||||
if o.Do() == true {
|
||||
if o.Do() {
|
||||
r.do = doTrue
|
||||
} else {
|
||||
r.do = doFalse
|
||||
|
||||
Reference in New Issue
Block a user