From d071c8e6e29a551fa11373040645460d6b4157eb Mon Sep 17 00:00:00 2001 From: Mael GRAMAIN Date: Sat, 16 Jan 2021 15:16:53 -0400 Subject: [PATCH] Fix SCC-SA4006 (Deepsource) with Debugging for GetSoa() in the AXFR func --- utils/axfr.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/axfr.go b/utils/axfr.go index 15bcd3a..055ca68 100644 --- a/utils/axfr.go +++ b/utils/axfr.go @@ -31,6 +31,8 @@ func GetAllRecords(d types.Domain) []types.Record { DbgErr(err) soa, err := d.GetSOA(db) + DbgErr(err) + results = append([]types.Record{soa}, results...) return results