mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	goreport card fixes (#4139)
This fixes some inefassign as report by Go report card: https://goreportcard.com/report/github.com/coredns/coredns Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
		| @@ -248,7 +248,7 @@ func Section(tc Case, sec sect, rr []dns.RR) error { | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
| // CNAMEOrder makes sure that CNAMES do not appear after their target records | ||||
| // CNAMEOrder makes sure that CNAMES do not appear after their target records. | ||||
| func CNAMEOrder(res *dns.Msg) error { | ||||
| 	for i, c := range res.Answer { | ||||
| 		if c.Header().Rrtype != dns.TypeCNAME { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user