Fix SCC-SA4006 (Deepsource) with Debugging for GetSoa() in the AXFR func

This commit is contained in:
Mael GRAMAIN 2021-01-16 15:16:53 -04:00
parent 1ec2b3c5a2
commit d071c8e6e2

View file

@ -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