Fix SCC-SA4006 (Deepsource) with Debugging for GetSoa() in the AXFR func
This commit is contained in:
parent
1ec2b3c5a2
commit
d071c8e6e2
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue