diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-23 13:48:54 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-23 13:55:28 +0700 |
| commit | 1b10f5c1d9b0d91e9675963b8307180cbf222b4e (patch) | |
| tree | c77b196f4cf974f7e5cf753bb646de980a299dd4 /httpd.go | |
| parent | fb9c1047024a47497318b15dcc8d0d4ed782397a (diff) | |
| download | rescached-1b10f5c1d9b0d91e9675963b8307180cbf222b4e.tar.xz | |
go.mod: update all dependencies and set Go mod version to 1.20
The update on share module affect the following changes,
* lib/dns: removing dns.ZoneRecords, replacing it with
map[string][]*dns.ResourceRecord
* lib/dns: file Name in Zone renamed to Origin
* lib/dns: replace call to Caches.InternalPopulate with
InternalPopulateZone that accept zone as parameter
Diffstat (limited to 'httpd.go')
| -rw-r--r-- | httpd.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1498,7 +1498,7 @@ func (srv *Server) apiZonedRRDelete(epr *libhttp.EndpointRequest) (resbody []byt } rr.Name = strings.TrimRight(rr.Name, ".") - rr.Name = strings.TrimRight(rr.Name, zone.Name) + rr.Name = strings.TrimRight(rr.Name, zone.Origin) if rr.Type == dns.RecordTypePTR { if len(rr.Name) == 0 { |
