diff options
author | 2020-09-22 09:22:00 +0200 | |
---|---|---|
committer | 2020-09-22 09:22:00 +0200 | |
commit | 24e668ecf085597faa3100f130a85c480a36c7cb (patch) | |
tree | e670f52396294175fcd59a40daf0cf3a60cf9769 /plugin/test/helpers.go | |
parent | aa82ca62fb048562ffaf4aa24d3f2db8d8bd0333 (diff) | |
download | coredns-24e668ecf085597faa3100f130a85c480a36c7cb.tar.gz coredns-24e668ecf085597faa3100f130a85c480a36c7cb.tar.zst coredns-24e668ecf085597faa3100f130a85c480a36c7cb.zip |
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>
Diffstat (limited to 'plugin/test/helpers.go')
-rw-r--r-- | plugin/test/helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/test/helpers.go b/plugin/test/helpers.go index 21fb277c0..fa89f9218 100644 --- a/plugin/test/helpers.go +++ b/plugin/test/helpers.go @@ -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 { |