mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -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
@@ -422,7 +422,7 @@ func optsEqual(a, b []dns.EDNS0) bool {
|
||||
if aa.SourceScope != bb.SourceScope {
|
||||
return false
|
||||
}
|
||||
if !bytes.Equal(aa.Address, bb.Address) {
|
||||
if !aa.Address.Equal(bb.Address) {
|
||||
return false
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user