Skip to content

Commit 09f73af

Browse files
wgblikeWrafaeldtinoco
authored andcommitted
fix: typo fix in comment
1 parent cb56c6a commit 09f73af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ebpf/probes/probes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (p *probes) Attach(handle Handle, args ...interface{}) error {
146146
return p.probes[handle].attach(p.module, args...)
147147
}
148148

149-
// Attach detaches given handle's program from its hook
149+
// Detach detaches given handle's program from its hook
150150
func (p *probes) Detach(handle Handle, args ...interface{}) error {
151151
if _, ok := p.probes[handle]; !ok {
152152
return fmt.Errorf("probe handle (%d) does not exist", handle)

0 commit comments

Comments
 (0)