-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
panic in bpfman-agent due to err not being returned
Originally reported in [bpfman:#1311](bpfman/bpfman#1311) and tracked in #328, `GetID()` and `reconcileBpfProgram()` both have instances where they detect errors but return nil for err, causing the calling functions to continue and eventually panic. Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters