diff --git a/internal/filtering/filtering.go b/internal/filtering/filtering.go index 831628d0c0a..770e27d46fc 100644 --- a/internal/filtering/filtering.go +++ b/internal/filtering/filtering.go @@ -771,7 +771,7 @@ func (d *DNSFilter) initFiltering(ctx context.Context, allowFilters, blockFilter return nil } -// hostRules is a helper that converts a slice of host rules into a slice of the +// hostRulesToRules is a helper that converts a slice of host rules into a slice of the // rules.Rule interface values. func hostRulesToRules(netRules []*rules.HostRule) (res []rules.Rule) { if netRules == nil { diff --git a/internal/querylog/decode.go b/internal/querylog/decode.go index fbe5bc40dc9..db9e1d14370 100644 --- a/internal/querylog/decode.go +++ b/internal/querylog/decode.go @@ -684,7 +684,7 @@ var resultHandlers = map[string]logEntryHandler{ }, } -// resultDecHandlers calls a decode handler for key if there is one. +// resultDecHandler calls a decode handler for key if there is one. func (l *queryLog) resultDecHandler( ctx context.Context, name string,