Skip to content

Commit 707b426

Browse files
chore: make function comment match function name
Signed-off-by: yingshanghuangqiao <[email protected]>
1 parent c4b4bd8 commit 707b426

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/filtering/filtering.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ func (d *DNSFilter) initFiltering(ctx context.Context, allowFilters, blockFilter
771771
return nil
772772
}
773773

774-
// hostRules is a helper that converts a slice of host rules into a slice of the
774+
// hostRulesToRules is a helper that converts a slice of host rules into a slice of the
775775
// rules.Rule interface values.
776776
func hostRulesToRules(netRules []*rules.HostRule) (res []rules.Rule) {
777777
if netRules == nil {

internal/querylog/decode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ var resultHandlers = map[string]logEntryHandler{
684684
},
685685
}
686686

687-
// resultDecHandlers calls a decode handler for key if there is one.
687+
// resultDecHandler calls a decode handler for key if there is one.
688688
func (l *queryLog) resultDecHandler(
689689
ctx context.Context,
690690
name string,

0 commit comments

Comments
 (0)