Skip to content

fix: don't throw exception on iteration breakout#42

Merged
poiana merged 1 commit intofalcosecurity:masterfrom
mrgian:mrgian-it-breakout-exception
Dec 20, 2024
Merged

fix: don't throw exception on iteration breakout#42
poiana merged 1 commit intofalcosecurity:masterfrom
mrgian:mrgian-it-breakout-exception

Conversation

@mrgian
Copy link
Contributor

@mrgian mrgian commented Dec 4, 2024

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area plugin-sdk

/area tests

What this PR does / why we need it:

Avoid throwing an exception when iterate_entries returns false.
The false return statement is used to breakout from the iteration and doesn't necessarily means an error has occurred.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

 fix: don't throw exception on iteration breakout

Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
@poiana poiana added kind/bug Something isn't working dco-signoff: yes labels Dec 4, 2024
@poiana poiana requested review from ldegio and leodido December 4, 2024 09:01
@poiana poiana added the size/S label Dec 4, 2024
Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link

poiana commented Dec 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana
Copy link

poiana commented Dec 20, 2024

LGTM label has been added.

DetailsGit tree hash: 783a88b0c6aac002660943521d2fd8ddb4b7e0ff

@poiana poiana merged commit 49bf03e into falcosecurity:master Dec 20, 2024
@FedeDP
Copy link
Contributor

FedeDP commented Jan 8, 2025

/milestone 0.1.0

@FedeDP FedeDP added this to the 0.1.0 milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants