summaryrefslogtreecommitdiff
path: root/internal/eventloop_comm.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 09:59:39 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 09:59:39 +0300
commit460e1ba7a7228aa324a2f36b8693951b19866c62 (patch)
treef910695f3be0133bf325ebbc7f9448f1cf7f9c9f /internal/eventloop_comm.go
parent7dd508503595b023de03d78de487b4f52c7a98f0 (diff)
fix: wrap SetMaxEntries and GetMap errors in resizeBPFMap with map name context
Raw errors from GetMap and SetMaxEntries gave no indication of which BPF map failed. Wrap both with fmt.Errorf including the map name (and target size for SetMaxEntries) so callers can immediately identify the offending map. Also simplify resizeBPFMaps to return directly since resizeBPFMap now carries full context, removing the redundant outer wrap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/eventloop_comm.go')
0 files changed, 0 insertions, 0 deletions