falcosecurity / falcoctl

Administrative tooling for Falco
Apache License 2.0
87 stars 57 forks source link

fix(pkg/driver): avoid source of crash during distro Discovery. #530

Closed FedeDP closed 5 months ago

FedeDP commented 5 months ago

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area library

What this PR does / why we need it:

This fix avoids a source of crash.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

/milestone v0.8.0

FedeDP commented 5 months ago

/cc @alacuku

poiana commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/falcosecurity/falcoctl/blob/main/OWNERS)~~ [FedeDP,leogr] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment