Skip to content

Commit

Permalink
fix stats on inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHlt committed Oct 3, 2023
1 parent 318d11a commit 5020e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolvers/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (h *GSLBHandler) ServeDNS(w dns.ResponseWriter, msg *dns.Msg) {

func (h *GSLBHandler) Resolve(ctx context.Context, fqdn string, queryType uint16) []dns.RR {
if queryType == dns.TypeTXT && fqdn == getAllEntriesFqdn && h.isAllowedInspect(ctx) {
return h.answerAllEntries()
return h.answerAllEntries(ctx)
}

seeAllMembers := false
Expand Down

0 comments on commit 5020e8a

Please sign in to comment.