Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(falco/app): apply early return pattern in actions code #3484

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

ekoops
Copy link
Contributor

@ekoops ekoops commented Feb 5, 2025

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

/kind release

Any specific area of the project related to this PR?

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

/area build

/area engine

/area tests

/area proposals

/area CI

What this PR does / why we need it:

This PR simplifies the falco app actions code by applying early return pattern.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

sgaist
sgaist previously approved these changes Feb 5, 2025
@poiana
Copy link
Contributor

poiana commented Feb 5, 2025

LGTM label has been added.

Git tree hash: 429a64d5dfb2998d270d4e5845bca5c468e49c58

@ekoops ekoops force-pushed the ekoops/return-early branch from 8e0d9dc to 6645566 Compare February 5, 2025 15:54
@ekoops ekoops requested a review from sgaist February 5, 2025 16:00
@ekoops ekoops force-pushed the ekoops/return-early branch from 6645566 to 331f935 Compare February 6, 2025 10:21
@ekoops ekoops requested a review from sgaist February 6, 2025 10:21
sgaist
sgaist previously approved these changes Feb 6, 2025
Copy link
Contributor

@sgaist sgaist left a comment

Choose a reason for hiding this comment

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

LGTM

@poiana poiana added the lgtm label Feb 6, 2025
@poiana
Copy link
Contributor

poiana commented Feb 6, 2025

LGTM label has been added.

Git tree hash: df3df518696488165bb3a261f1c8bb786c4a6d14

@FedeDP
Copy link
Contributor

FedeDP commented Feb 10, 2025

/milestone 0.41.0

@poiana poiana added this to the 0.41.0 milestone Feb 10, 2025
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
Contributor

poiana commented Feb 10, 2025

LGTM label has been added.

Git tree hash: 7a7fee9f31bff564f58e0644cbfc578688126c8a

@poiana
Copy link
Contributor

poiana commented Feb 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

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

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:

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

@poiana poiana merged commit 9e2c228 into falcosecurity:master Feb 10, 2025
33 checks passed
@ekoops ekoops deleted the ekoops/return-early branch February 12, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants