Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Qingchuan Hao <qingchuan.hao@microsoft.com>
  • Loading branch information
Qingchuan Hao committed Dec 23, 2022
1 parent 0a96363 commit 128cbc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bpf/bpf_lxc.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ struct {
__uint(max_entries, 1);
} CT_TAIL_CALL_BUFFER4 __section_maps_btf;

/* Handle egress IPv6 traffic from a container after service translation has been done
/* Handle egress IPv4 traffic from a container after service translation has been done
* either at the socket level or by the caller.
* In the case of the caller doing the service translation it passes in state via CB,
* which we take in with lb4_ctx_restore_state().
Expand Down
2 changes: 1 addition & 1 deletion pkg/monitor/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (a *Agent) State() *models.MonitorStatus {
return &status
}

// notifyPerfEventLocked notifies all consumers about an agent event.
// notifyAgentEvent notifies all consumers about an agent event.
func (a *Agent) notifyAgentEvent(typ int, message interface{}) {
a.Lock()
defer a.Unlock()
Expand Down

0 comments on commit 128cbc1

Please sign in to comment.