Skip to content

Commit e80a2d0

Browse files
chore: make function comment match function name
Signed-off-by: yingshanghuangqiao <[email protected]>
1 parent 16fda88 commit e80a2d0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

internal/dhcpsvc/v4.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ func (iface *dhcpInterfaceV4) handleSelecting(
428428
// TODO(e.burkov): Implement.
429429
}
430430

431-
// handleSelecting handles messages of type request in INIT-REBOOT state.
431+
// handleInitReboot handles messages of type request in INIT-REBOOT state.
432432
func (iface *dhcpInterfaceV4) handleInitReboot(
433433
ctx context.Context,
434434
rw responseWriter4,

internal/filtering/filtering.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ func (d *DNSFilter) initFiltering(allowFilters, blockFilters []Filter) (err erro
826826
return nil
827827
}
828828

829-
// hostRules is a helper that converts a slice of host rules into a slice of the
829+
// hostRulesToRules is a helper that converts a slice of host rules into a slice of the
830830
// rules.Rule interface values.
831831
func hostRulesToRules(netRules []*rules.HostRule) (res []rules.Rule) {
832832
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)