mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 11:45:33 -04:00
lint(revive): fix unnecessary-stmt violations (#7978)
This commit is contained in:
@@ -133,8 +133,7 @@ func resign(rd io.Reader, now time.Time) (why error) {
|
||||
i := 0
|
||||
|
||||
for rr, ok := zp.Next(); ok; rr, ok = zp.Next() {
|
||||
switch x := rr.(type) {
|
||||
case *dns.RRSIG:
|
||||
if x, ok := rr.(*dns.RRSIG); ok {
|
||||
if x.TypeCovered != dns.TypeSOA {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user